On Fri, 11 Jan 2002, Eli Zaretskii wrote: > > From: Tyler <[EMAIL PROTECTED]> > > Date: Thu, 10 Jan 2002 22:51:27 -0500 (EST) > > > > Has anyone noticed that Texinfo doesn't like to compile with GCC 3.0.2, > > and if not, would anyone like a patch for it? > > Texinfo compiles for me with GCC 3.0.2 without a hitch. Perhaps the > problem is not the compiler but the system headers? What error > messages do you see? >
Error message received was: -DINFODIR=\"/usr/local/info\" -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE _CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -O2 -c info.c info.c:567:1: directives may not be used inside a macro argument info.c:567:1: unterminated argument list invoking macro "printf" info.c: In function `info_short_help': info.c:571: parse error before string constant make[2]: *** [info.o] Error 1 I did some research and found that this error is due to the combination of gcc 3.0.2 and glibc 2.2.3. The problem is apparently that glibc defines printf as a macro. My bad for not looking around more before posting. This can be fixed by either #undef-ing printf first or rewriting the printf statement(s). To be honest, I could use a better explanation of why this happens. -- tyler at zerodivide dot cx AIM: zerodivide1101 Mobile SMS: tyler-mobile at zerodivide dot cx Now playing/last played: Nothing. Congratulation levelup! _______________________________________________ Bug-texinfo mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-texinfo
