Author Topic: Too many warnings  (Read 5457 times)

Offline freddysatellite

  • Single posting newcomer
  • *
  • Posts: 5
Too many warnings
« 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
« Last Edit: March 04, 2007, 04:48:27 pm by freddysatellite »

Offline Auria

  • Almost regular
  • **
  • Posts: 152
Re: Too many warnings
« Reply #1 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

Offline freddysatellite

  • Single posting newcomer
  • *
  • Posts: 5
Re: Too many warnings
« Reply #2 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6636
    • My Best Post
Re: Too many warnings
« Reply #3 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
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org