Re: [concordance-devel] Build failure with latest CVS

2008-04-01 Thread Phil Dibowitz
Stephen Warren wrote: Phil Dibowitz wrote: It's so weird I don't get the same behavior... [variadic macros error from gcc] Yes indeed. I installed a Debian sid chroot on my Fedora 8 system using the debootstrap utility, and installed the gcc-4.3 and g++-4.3 packages using aptitude

Re: [concordance-devel] Build failure with latest CVS

2008-03-31 Thread Stephen Warren
On Sun, March 30, 2008 11:41 pm, Phil Dibowitz wrote: And again, you missed what I said about declarations not at the top. This is why we use -ansi -pedantic-errors: [EMAIL PROTECTED] tmp]$ gcc -std=c99 foo.c [EMAIL PROTECTED] tmp]$ gcc -std=c99 -pedantic-errors foo.c [EMAIL PROTECTED] tmp]$

Re: [concordance-devel] Build failure with latest CVS

2008-03-31 Thread Phil Dibowitz
Stephen Warren wrote: * It certainly won't remove the warning about strdup not being prototyped (that's due to -ansi), which is a warning for me, but I believe an error on gcc-4.3 (hence why I submitted the patch for libconcord to add a bunch of headers to help packaging libconcord on Fedora 9

Re: [concordance-devel] Build failure with latest CVS

2008-03-31 Thread Phil Dibowitz
Stephen Warren wrote: Phil Dibowitz wrote: Stephen Warren wrote: * It certainly won't remove the warning about strdup not being prototyped (that's due to -ansi), which is a warning for me, but I believe an error on gcc-4.3 (hence why I submitted the patch for libconcord to add a bunch of

Re: [concordance-devel] Build failure with latest CVS

2008-03-31 Thread Phil Dibowitz
Stephen Warren wrote: Phil Dibowitz wrote: Stephen Warren wrote: * It certainly won't remove the warning about strdup not being prototyped (that's due to -ansi), which is a warning for me, but I believe an error on gcc-4.3 (hence why I submitted the patch for libconcord to add a bunch of

[concordance-devel] Build failure with latest CVS

2008-03-30 Thread Stephen Warren
Latest libconcord.h contains: static inline void debug(const char *str) {} This causes a build failure because inline isn't a valid keyword in standard ANSI C. Simply removing inline seems to fix the problem. - Check out

Re: [concordance-devel] Build failure with latest CVS

2008-03-30 Thread Stephen Warren
Phil Dibowitz wrote: Stephen Warren wrote: Latest libconcord.h contains: static inline void debug(const char *str) {} This causes a build failure because inline isn't a valid keyword in standard ANSI C. Simply removing inline seems to fix the problem. Already fixed... I still get this:

Re: [concordance-devel] Build failure with latest CVS

2008-03-30 Thread Stephen Warren
Stephen Warren wrote: Phil Dibowitz wrote: Stephen Warren wrote: Latest libconcord.h contains: static inline void debug(const char *str) {} This causes a build failure because inline isn't a valid keyword in standard ANSI C. Simply removing inline seems to fix the problem. Already

Re: [concordance-devel] Build failure with latest CVS

2008-03-30 Thread Stephen Warren
Stephen Warren wrote: I propose we replace -ansi -pedantic-errors with -std=c99. Sorry, just remove -ansi -pedantic-errors and don't add -std=c99; the variadic macro works with -std=c99, but the strdup prototype still isn't present unless we just remove all the standard-selection options.

Re: [concordance-devel] Build failure with latest CVS

2008-03-30 Thread Phil Dibowitz
Stephen Warren wrote: Stephen Warren wrote: I propose we replace -ansi -pedantic-errors with -std=c99. Sorry, just remove -ansi -pedantic-errors and don't add -std=c99; the variadic macro works with -std=c99, but the strdup prototype still isn't present unless we just remove all the

Re: [concordance-devel] Build failure with latest CVS

2008-03-30 Thread Stephen Warren
Phil Dibowitz wrote: Stephen Warren wrote: Stephen Warren wrote: I propose we replace -ansi -pedantic-errors with -std=c99. Sorry, just remove -ansi -pedantic-errors and don't add -std=c99; the variadic macro works with -std=c99, but the strdup prototype still isn't present unless we just

Re: [concordance-devel] Build failure with latest CVS

2008-03-30 Thread Phil Dibowitz
Stephen Warren wrote: Phil Dibowitz wrote: Stephen Warren wrote: Stephen Warren wrote: I propose we replace -ansi -pedantic-errors with -std=c99. Sorry, just remove -ansi -pedantic-errors and don't add -std=c99; the variadic macro works with -std=c99, but the strdup prototype still isn't