GNOME Bugzilla – Bug 515910
gtester.c compilation dies as result of not finding ARG_MAX defined
Last modified: 2008-03-31 04:35:27 UTC
make[4]: Entering directory `/src/glib/glib' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -g -pipe -D_REENTRANT -g -pipe -Wall -MT gtester.o -MD -MP -MF .deps/gtester.Tpo -c -o gtester.o gtester.c gtester.c: In function `launch_test_binary': gtester.c:276: error: `ARG_MAX' undeclared (first use in this function) gtester.c:276: error: (Each undeclared identifier is reported only once gtester.c:276: error: for each function it appears in.) gtester.c:276: warning: unused variable `argv' make[4]: *** [gtester.o] Error 1 make[4]: Leaving directory `/src/glib/glib' ARG_MAX lives in sys/syslimits.h but is not included
2008-03-30 Matthias Clasen <mclasen@redhat.com> * glib/gtester.c: Don't use ARG_MAX. (#522335, patch by Sebastian Dröge)