User forums > Nightly builds
The 27-31 October 2007 build will NOT be out.
stahta01:
C::B complains about this line in wxflatnotebook's popup_dlg.cpp
img.SetAlpha((unsigned char*)signpost_alpha, true);
Edit: The error is still needs fixed, spoke too soon.
sdk\wxFlatNotebook/libwxflatnotebook.a(popup_dlg.o):F:/SourceCode/Projects/IDEs/CodeBlocks/codeblocks/src/sdk/wxFlatNotebook/src/wxFlatNotebook/popup_dlg.cpp:187: undefined reference to `signpost_alpha
Note, the file popup_dlg.cpp also has formatting issues related to linefeeds.
( The formatting might be caused by my SVN Client testing TortoiseSVN Beta)
Tim S
Jan van den Borst:
How do I setup MINGW 4.2.1?
Jan
TDragon:
jens:
--- Quote from: jens on October 28, 2007, 11:06:08 pm ---... (at least under linux there is no "-Wno-write"-strings documented).
--- End quote ---
--- Quote from: GCC 4.2.1 Manual ---Each of these specific warning options also has a negative form beginning `-Wno-' to turn off warnings; for example, -Wno-implicit. This manual lists only one of the two forms, whichever is not the default.
...
-Wwrite-strings
When compiling C, give string constants the type const char[length] so that copying the address of one into a non-const char * pointer will get a warning; when compiling C++, warn about the deprecated conversion from string literals to char *. This warning, by default, is enabled for C++ programs. These warnings will help you find at compile time code that can try to write into a string constant, but only if you have been very careful about using const in declarations and prototypes. Otherwise, it will just be a nuisance; this is why we did not make -Wall request these warnings.
--- End quote ---
-Wwrite-strings doesn't turn off the warnings, it enables them (i.e., has no effect when compiling C++). Try it yourself.
killerbot:
Handle the wxPG files however you like; none of the code between the #ifdef SWIG conditionals is being used anyway. I'd like to point out that casting const away is almost never a good idea; I'm taking a closer look at the code now.
Jenna:
--- Quote from: TDragon on October 29, 2007, 12:21:34 am ---jens:
--- Quote from: jens on October 28, 2007, 11:06:08 pm ---... (at least under linux there is no "-Wno-write"-strings documented).
--- End quote ---
--- Quote from: GCC 4.2.1 Manual ---Each of these specific warning options also has a negative form beginning `-Wno-' to turn off warnings; for example, -Wno-implicit. This manual lists only one of the two forms, whichever is not the default.
...
-Wwrite-strings
When compiling C, give string constants the type const char[length] so that copying the address of one into a non-const char * pointer will get a warning; when compiling C++, warn about the deprecated conversion from string literals to char *. This warning, by default, is enabled for C++ programs. These warnings will help you find at compile time code that can try to write into a string constant, but only if you have been very careful about using const in declarations and prototypes. Otherwise, it will just be a nuisance; this is why we did not make -Wall request these warnings.
--- End quote ---
-Wwrite-strings doesn't turn off the warnings, it enables them (i.e., has no effect when compiling C++). Try it yourself.
--- End quote ---
You are right of course. :oops:
Thank you for correcting me !
Steven 'lazalong':
--- Quote from: jens on October 28, 2007, 05:23:05 pm ---I've created a patch for "propgrid.h" and "manager.h" : http://jens.lody.name/debian/patches/propgrid.patch
--- End quote ---
It could be useful to submit your patch to the propgrid tracker:
http://sourceforge.net/tracker/?group_id=133406
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version