[gtkmm] SUSE + gtkmm = __CHAR_BIT__ was not declared



I don't use SuSE much, but trying to build gtkmm 2.2.6 (on some fairly
exotic MP Xeon hardware), I get the following strange errors. This is
SuSE 8.2, with some version of gcc 3.2. I get the same errors with the
libsigc++ 1.2 tests, but I just disabled them. Any ideas?:
  
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../glib -I../../gdk -I../../gtk
-I/usr/local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall -MT
generate_extra_defs.lo -MD -MP -MF .deps/generate_extra_defs.Tpo -c
generate_extra_defs.cc  -fPIC -DPIC -DPIC -o generate_extra_defs.o
In file included from /usr/include/g++/bits/locale_facets.tcc:43,
                 from /usr/include/g++/locale:47,
                 from /usr/include/g++/bits/ostream.tcc:37,
                 from /usr/include/g++/ostream:515,
                 from /usr/include/g++/iostream:45,
                 from generate_extra_defs.h:24,
                 from generate_extra_defs.cc:23:
/usr/include/g++/limits:280: `__CHAR_BIT__' was not declared in this
scope
/usr/include/g++/limits:281: `__CHAR_BIT__' was not declared in this
scope
/usr/include/g++/limits: In static member function `static char
   std::numeric_limits<char>::min()':
/usr/include/g++/limits:276: `__CHAR_BIT__' undeclared (first use this
   function)
/usr/include/g++/limits:276: (Each undeclared identifier is reported
only once
   for each function it appears in.)
/usr/include/g++/limits: In static member function `static signed char
   std::numeric_limits<signed char>::min()':
/usr/include/g++/limits:326: `__SCHAR_MAX__' undeclared (first use this
   function)
/usr/include/g++/limits: At global scope:
/usr/include/g++/limits:880: `__FLT_MANT_DIG__' was not declared in this
scope
/usr/include/g++/limits:881: `__FLT_DIG__' was not declared in this
scope
/usr/include/g++/limits:885: `__FLT_RADIX__' was not declared in this
scope
/usr/include/g++/limits:891: `__FLT_MIN_EXP__' was not declared in this
scope
/usr/include/g++/limits:892: `__FLT_MIN_10_EXP__' was not declared in
this
   scope
/usr/include/g++/limits:893: `__FLT_MAX_EXP__' was not declared in this
scope
/usr/include/g++/limits:894: `__FLT_MAX_10_EXP__' was not declared in
this
   scope
/usr/include/g++/limits:897: `__builtin_huge_valf' was not declared in
this
   scope
/usr/include/g++/limits:897: `__builtin_huge_valf' was not declared in
this
   scope
/usr/include/g++/limits:899: `__builtin_nanf' was not declared in this
scope
/usr/include/g++/limits:899: `__builtin_nanf' was not declared in this
scope
/usr/include/g++/limits:900: field initializer is not constant
/usr/include/g++/limits:902: `__FLT_DENORM_MIN__' was not declared in
this


-- 
Murray Cumming
murrayc usa net
www.murrayc.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]