Code::Blocks

Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: freddysatellite on March 04, 2007, 04:41:22 pm

Title: Too many warnings
Post by: freddysatellite on March 04, 2007, 04:41:22 pm
I was installing CodeBlockers from source and during make i've noticed a lot of warnings because GCC_PRAGMA not defined.. Is that okey
-I've downloaded the March-02-2007 build

I am using Ubuntu (drapper)
I have installed wxWidget 2.8.0 from the Sypnatic package manager
then configure with this line
./configure --with-wx-config=/usr/bin/wx-config --enable-contrib --prefix=/opt/codeblocks-svn

Is that okey to have all those warnings?

OOPS... Did not make it complete got these errors:
make[3]: *** [codeblocks] Error 1
make[3]: Leaving directory `/home/federico/Desktop/develop/trunk/src/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/federico/Desktop/develop/trunk/src/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/federico/Desktop/develop/trunk/src'
make: *** [all-recursive] Error 1
Title: Re: Too many warnings
Post by: Auria on March 04, 2007, 07:35:33 pm
Quote
installed wxWidget 2.8.0

Code::Blocks doesn't yet support wxWidgets 2.8, install 2.6 and it should work
Title: Re: Too many warnings
Post by: freddysatellite on March 04, 2007, 09:42:24 pm
Well I did start the process from zero using 2.6.3 wxWidgets, and after several minutes i've got these errors:
./wxsbitmapiconproperty.cpp:165: error: 'cbU2C' was not declared in this scope
make[6]: *** [wxsbitmapiconproperty.lo] Error 1
make[6]: Leaving directory `/home/federico/develop/trunk/src/plugins/contrib/wxSmith/wxwidgets/properties'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/federico/develop/trunk/src/plugins/contrib/wxSmith/wxwidgets'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/federico/develop/trunk/src/plugins/contrib/wxSmith'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/federico/develop/trunk/src/plugins/contrib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/federico/develop/trunk/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/federico/develop/trunk/src'
make: *** [all-recursive] Error 1
Title: Re: Too many warnings
Post by: stahta01 on March 04, 2007, 11:54:20 pm
FYI:

wxSmith is changing very fast and the developer uses windows.
Very often extra includes are needed for Linux.
Note, I think the issue you reported was already reported else where, please try the newest SVN and see if the error goes away.

If that does NOT work try adding the following include.

#include <globals.h> // cbU2C

Tim S