#ifndef __WX_PCH_H_INCLUDED__
#define __WX_PCH_H_INCLUDED__
#if ( defined(USE_PCH) && !defined(WX_PRECOMP) )
#define WX_PRECOMP
#endif // USE_PCH
// basic wxWidgets headers
#include <wx/wxprec.h>
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#ifdef USE_PCH
// put here all your rarely-changing header files
#endif // USE_PCH
#endif // __WX_PCH_H_INCLUDED__
In file included from C:\prog32\sdk\wxWidgets-2.8.4\include/wx/gdicmn.h:20,
from C:\prog32\sdk\wxWidgets-2.8.4\include/wx/msw/private.h:213,
from C:\prog32\sdk\wxWidgets-2.8.4\include/wx/msw/wrapcdlg.h:18,
from C:\prog32\sdk\wxWidgets-2.8.4\include/wx/wxprec.h:47,
from src/wx_pch.h:9,
from <command-line>:0:
C:\prog32\sdk\wxWidgets-2.8.4\include/wx/list.h:506: warning: type attributes ignored after type is already defined
In file included from C:\prog32\sdk\wxWidgets-2.8.4\include/wx/wx.h:19,
from C:\prog32\sdk\wxWidgets-2.8.4\include/wx/wxprec.h:68,
from src/wx_pch.h:9,
from <command-line>:0:
C:\prog32\sdk\wxWidgets-2.8.4\include/wx/hash.h:117: warning: attributes ignored on elaborated-type-specifier that is not a forward declaration
warning: attributes ignored on elaborated-type-specifier that is not a forward declaration
Wwolf is right insofar as we can indeed not do much about it (nothing at all, actually). Just ignore it, or use the compiler option to turn off attribute warnings (this won't affect any other warnings).
I think we should do that, what is the option ?
Adding "-Wno-attributes" to the compiler options will get rid of most of the warnings.
I think we should not do that. I makes building with 3.4.x impossible.QuoteWwolf is right insofar as we can indeed not do much about it (nothing at all, actually). Just ignore it, or use the compiler option to turn off attribute warnings (this won't affect any other warnings).
I think we should do that, what is the option ?
Some of you guys may want to check it with the wxWidgets people if they know about this problem. Maybe they have it in the plans to address it? If not, maybe some user of Code::Blocks may contribute there. I won't, because I do not know enough about wx, I just installed Code::Blocks few days ago (and had no time to play with it much yet).
I think we should not do that. I makes building with 3.4.x impossible.QuoteWwolf is right insofar as we can indeed not do much about it (nothing at all, actually). Just ignore it, or use the compiler option to turn off attribute warnings (this won't affect any other warnings).
I think we should do that, what is the option ?
-Wno-comment was added with gcc 4.1, so both the 3.4 and 4.0 series will fail with "unknown command line switch" if you add that to the project/makefile.I think we should not do that. I makes building with 3.4.x impossible.QuoteWwolf is right insofar as we can indeed not do much about it (nothing at all, actually). Just ignore it, or use the compiler option to turn off attribute warnings (this won't affect any other warnings).
I think we should do that, what is the option ?
3.4.x fails to build then ?
I'll see if I can do it with scripting ;-)
Why an extra file? You could [[ ]] it as pre-build step for the first target.now that's something I didn't know