INT_MAX



Greets all,

I've been trying to compile gnome-core 1.0.4 but keep getting this
eerror (with egcs-1.1.2 or gcc-2.7.2.3) 

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.        -I../intl      
-I../intl -I../panel    -DGNOMELOCALEDIR=\""/usr/share/locale"\"       
-I/usr/include -I/usr/include -DNEED_GNOMESUPPORT_H
-I/usr/lib/gnome-libs/include -I/usr/X11R6/lib/glib/include
-I/usr/X11R6/include -I/usr/X11R6/lib/glib/include -I/usr/X11R6/include
-I/usr/include  -I/usr/X11R6/include -I/usr/X11R6/lib/glib/include
-I/usr/X11R6/include  -g -O2 -Wall -Wno-unused  -c session.c
session.c: In function `load_default_applets':
session.c:642: `INT_MAX' undeclared (first use this function)
session.c:642: (Each undeclared identifier is reported only once
session.c:642: for each function it appears in.)
session.c: In function `init_user_applets':
session.c:694: `INT_MAX' undeclared (first use this function)
make[2]: *** [session.o] Error 1

I've been trying to trace this down and think I found an answer in the
glibconfig.h where there is 
#include <limits.h>
#include <float.h>
(snip)
#define G_MAXINT        INT_MAX

I can't find INT MAX in either limits.h or float.h.  Do I need to
recompile my libstdc++ ?

-Brian



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