Hi.
I tryed to recompile wx27 libs directly with MinGW32 3.4.2.
I didn't modify any option in "setup.h"
When compiling for Static libs, everything is OK.
When compiling for shared libs, I have a lot of warnigs like:
In file included from ../../include/wx/memory.h:16,
from ../../include/wx/object.h:21,
from ../../include/wx/list.h:33,
from ../../src/common/appbase.cpp:28:
../../include/wx/string.h:58: warning: type attributes are honored only at type definition
../../include/wx/string.h:249: warning: type attributes are honored only at type definition
../../include/wx/string.h:656: warning: type attributes are honored only at type definition
I've redirected stdout to a file named "StdOut.txt", and stderr to "StdErr.txt".
For the "Release Ansi Shared" configuration, the "StdErr.txt" file size is more than 126Mo, full of warnings only.
The command line I used is:
mingw32-make -f makefile.gcc BUILD=release SHARED=1 UNICODE=0
I would link to know if someone has had this problem before (this is not really a problem, because I can compile instead, but I think it would be better to have an empty error log)
Thanks for your replies...
Lots of warnings while compiling with MinGW32
-
- Can't get richer than this
- Posts: 864
- Joined: Thu Jul 28, 2005 9:48 pm
- Location: New Forest, United Kingdom
- Contact:
Hi Xaviou
I can't help you any with this problem, except to say that my experience has been identical. I was expecting the compile to end in an error after the string of warnings when compiling dynamic libraries. However at the end of it the libraries worked OK.
Googling the best I could find is
I can't help you any with this problem, except to say that my experience has been identical. I was expecting the compile to end in an error after the string of warnings when compiling dynamic libraries. However at the end of it the libraries worked OK.
Googling the best I could find is
Sof.Tthe header file needlessly uses type attributes in the forward declaration, which prompts gcc 4.1 to warn with
warning: type attributes are honored only at type definition
The home of Sof.T http://www.sof-t.site88.net/
Author of Programming with wxDevC++
http://sourceforge.net/projects/wxdevcpp-book/
Author of Programming with wxDevC++
http://sourceforge.net/projects/wxdevcpp-book/