I encountered this compile error with Xorg 6.7.0 using glibc-2.3.1 and Gcc-3.2.3. This is the error: In file included from text-mode.c:47: loader.h:78: warning: ISO C doesn't support unnamed structs/unions loader.h:78: unnamed fields of type other than struct or union are not allowed text-mode.c: In function `TextMode': text-mode.c:220: warning: string length `535' is greater than the length `509' ISO C89 compilers are required to support make[6]: *** [text-mode.o] Error 1 make[6]: Leaving directory `/usr/src/xc/programs/Xserver/hw/xfree86/xf86cfg' make[5]: *** [all] Error 2 Actually this error is related to Xfree86-4.4.0 release candidates. And it HAS been fixed in the Xfree 4.4.0 release. So I think porting code in a converted manner from the latest xfree86 branch should do the job.
the code in question: 74:typedef union { 75: unsigned long num; 76: char * str; 77: double realnum; 78: Bool bool; 79: OptFrequency freq; 80:} ValueUnion; the error message makes me think it's not getting the Bool type defined in time. i can't reproduce this though. reporter, could you attach your World.log?
Can anyone reproduce this? I'm inclined to close with WORKSFORME.
closing WORKSFORME, unable to reproduce for over two months.
Can reproduce, see spy-ppc-gentoo at http://freedesktop.org/cgi-bin/tinderbox3/showbuilds.pl?tree=Test
More info available at http://linuxfromscratch.org/pipermail/patches/2004-February/000843.html I already have a patch to fix this in Gentoo, attaching.
Created attachment 1255 [details] [review] [FIXED_X11R68x] 9300_all_4.3.0-ncurses-xf86cfg-bool-conflict.patch
applied, thanks.
Comment on attachment 1255 [details] [review] [FIXED_X11R68x] 9300_all_4.3.0-ncurses-xf86cfg-bool-conflict.patch Approved for the X11R6.8.x branch in the 2004-11-17 release-wranglers phone call. Please don't commit it yourself, I'll handle that once the CVS service is available again.
Comment on attachment 1255 [details] [review] [FIXED_X11R68x] 9300_all_4.3.0-ncurses-xf86cfg-bool-conflict.patch Patch checked-in into X11R6.8.x stable branch: /cvs/xorg/xc/ChangeLog,v <-- ChangeLog new revision: 1.365.2.16; previous revision: 1.365.2.15 cvs commit: Using deprecated info format strings. Convert your scripts to use the new argument format and remove '1's from your info file format strings. /cvs/xorg/xc/programs/Xserver/hw/xfree86/xf86cfg/loader.h,v <-- loader.h new revision: 1.2.4.1; previous revision: 1.2 cvs commit: Using deprecated info format strings. Convert your scripts to use the new argument format and remove '1's from your info file format strings. Mailing the commit message to xorg-commit@lists.freedesktop.org...
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.