Yes, switching from -pedantic-errors to -pedantic switches the varargs error to a warning.
Note that the error/warning is pretty clear; varargs macros only exist in C99 plus, so if we're claiming to have C89 source via -ansi, we can't use them. Build logs: # Fedora 8, gcc 4.1.2: gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33) # Fedora 9, gcc 4.3.0: gcc (GCC) 4.3.0 20080326 (Red Hat 4.3.0-5) # Exact same results on both compilers # Standard flags, build fails gcc -DHAVE_CONFIG_H -I. -Wall -ansi -pedantic-errors -I../libconcord -MT concordance-concordance.o -MD -MP -MF .deps/concordance-concordance.Tpo -c -o concordance-concordance.o concordance.c In file included from concordance.c:21: ../libconcord/libconcord.h:47:19: error: anonymous variadic macros were introduced in C99 # s/-ansi// doesn't solve the build failure # (default is C90 plus some GNU extensions) gcc -DHAVE_CONFIG_H -I. -pedantic-errors -Wall -I../libconcord -MT concordance-concordance.o -MD -MP -MF .deps/concordance-concordance.Tpo -c -o concordance-concordance.o concordance.c In file included from concordance.c:21: ../libconcord/libconcord.h:47:19: error: anonymous variadic macros were introduced in C99 # s/-pedantic-errors/-pedantic/ solves the build failure gcc -DHAVE_CONFIG_H -I. -Wall -ansi -pedantic -I../libconcord -MT concordance-concordance.o -MD -MP -MF .deps/concordance-concordance.Tpo -c -o concordance-concordance.o concordance.c In file included from concordance.c:21: ../libconcord/libconcord.h:47:19: warning: anonymous variadic macros were introduced in C99 # s/-pedantic-errors// also solves the build failure gcc -DHAVE_CONFIG_H -I. -Wall -ansi -I../libconcord -MT concordance-concordance.o -MD -MP -MF .deps/concordance-concordance.Tpo -c -o concordance-concordance.o concordance.c # s/-ansi -pedantic-errors/-pedantic/ also solves the build failure gcc -DHAVE_CONFIG_H -I. -pedantic -Wall -I../libconcord -MT concordance-concordance.o -MD -MP -MF .deps/concordance-concordance.Tpo -c -o concordance-concordance.o concordance.c In file included from concordance.c:21: ../libconcord/libconcord.h:47:19: warning: anonymous variadic macros were introduced in C99 # s/-ansi -pedantic-errors// also solves the build failure gcc -DHAVE_CONFIG_H -I. -Wall -I../libconcord -MT concordance-concordance.o -MD -MP -MF .deps/concordance-concordance.Tpo -c -o concordance-concordance.o concordance.c ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel