------- Comment #1 from edwintorok at gmail dot com 2008-08-21 13:26 ------- Also -fdiagnostics-show-option doesn't show that the error is coming from -pedantic: $ gcc -Werror -pedantic x.c -c -fdiagnostics-show-option cc1: warnings being treated as errors x.c: In function foo: x.c:10: error: initializer element is not computable at load time x.c:10: error: initializer element is not computable at load time
$ gcc -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.1-9' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-cld --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.3.1 (Debian 4.3.1-9) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37187