User forums > Nightly builds

The 27-31 October 2007 build will NOT be out.

<< < (5/11) > >>

stahta01:

--- Quote from: tvaster on October 29, 2007, 03:25:47 am ---/usr/src/codeblocks/src/sdk/.libs/libcodeblocks.so: undefined reference to `signpost_alpha'

--- End quote ---

Try this patch


--- Code: ---Index: src/sdk/wxFlatNotebook/src/wxFlatNotebook/fnb_resources.cpp
===================================================================
--- src/sdk/wxFlatNotebook/src/wxFlatNotebook/fnb_resources.cpp (revision 4572)
+++ src/sdk/wxFlatNotebook/src/wxFlatNotebook/fnb_resources.cpp (working copy)
@@ -136,7 +136,7 @@
 "                                ",
 "                                "
 };
-const unsigned char signpost_alpha[]={
+unsigned char signpost_alpha[]={
 0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
 0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
 0,   0,   0,   0,   7, 174, 240, 238, 148,   0,   0,   0,   0,   0,   0,   0,

--- End code ---

Someone, appears to have added to many const.

FYI: You do realize SVN is broken, Right?
It errors out a little farther after the patch.

Tim S

killerbot:
I added the const, but on linux everything builded fine for me, just tried on windows same issue, but why should it not be const ??
[now the warning will be back :-( ] It is used once at a place where I cast away the const, but as fas as I can't tell from the wx doc, it seems the argument will not be changed by the wxImage method [not even delete since 2e arg is true]

Have undo-ed that const in the meantime.

[I wonder why make or gcc apparently is not working correctly, since for some it breaks compilation, for others it don't]

stahta01:

--- Quote from: killerbot on October 29, 2007, 07:57:02 am ---I added the const, but on linux everything builded fine for me, just tried on windows same issue, but why should it not be const ??
[now the warning will be back :-( ] It is used once at a place where I cast away the const, but as fas as I can't tell from the wx doc, it seems the argument will not be changed by the wxImage method [not even delete since 2e arg is true]

[I wonder why make or gcc apparently is not working correctly, since for some it breaks compilation, for others it don't]

--- End quote ---

The "const" was causing an linker error in windows; the correct solution could be somewhere else.
But, removing the const did not cause a compiler warning for me. Using MinGW 4.2 SJLJ

Oops, I just remember I have several warning flags turned off.

Tim S

MortenMacFly:

--- Quote from: killerbot on October 28, 2007, 09:55:44 pm ---This had already been done, every windows cbp of CB includes a project build script.

--- End quote ---
The script is OK (and cool ;-)) but I'd like to veto the path where it had been put into. Remember that usually you can checkout the C::B C++ sources only using svn.berlios.de/svnroot/repos/codeblocks/src? This won't work now anymore. Why didn't you put this script under src/build_tools ? That would have been the place to do IMHO...?!
With regards, Morten.

thomas:
Byo is the only one using wxPropertyGrid. I think you should just wait for him to finish his update to the most recent version (which has been talked of a few weeks ago). Then wxPropertyGrid will be gone from the Code::Blocks SDK anyway, and possibly the warnings are magically gone too.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version