va_dcl
Jack Howarth
howarth@bromo.med.uc.edu
Sun Nov 8 19:22:00 GMT 1998
Richard,
You might want to grab a copy of xfig 3.2.2 and build it on your machine.
This was all an exercise to test case it compilation problems. Finally tonight
I simply started playing with the flags passed to egcs and discovered that
the key flag that was tripping up xfig on linuxppc, XFree86, glibc 2.0.100
with egcs_1_1_branch is
-D_XOPEN_SOURCE=500L
with it the compilation flags look like
gcc -c -O2 -fsigned-char -I/usr/include -I/usr/X11R6/include/X11 -I/usr/X11R6/include -I/include -Dlinux -D__powerpc__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DGSBIT -DUSE_INLINE -DUSE_XPM -DUSE_XPM_ICON -DUSE_JPEG w_setup.c
and it compiles fine. With that -D_XOPEN_SOURCE=500L flag I get this parse
errors on va_dcl. Any ideas why that might be?
Jack
--
------------------------------------------------------------------------------
Jack W. Howarth, Ph.D. 231 Bethesda Avenue
NMR Facility Director Cincinnati, Ohio 45267-0524
Dept. of Molecular Genetics phone: (513) 558-4420
Univ. of Cincinnati College of Medicine fax: (513) 558-8474
More information about the Gcc-bugs
mailing list