Whilst configuring the mozilla appsuite with 3.3.1, the following error occurs: checking whether C++ compiler has -pedantic long long bug... yes configure: error: Your compiler appears to have a known bug where long long is m iscompiled when using -pedantic. Reconfigure using --disable-pedantic. I can reproduce the test: diz $ cat conftest.C int main () { if (sizeof(long long) != 8) { return 1; } return 0; } diz $ c++ -pedantic conftest.C conftest.C: In function `int main()': conftest.C:2: error: ISO C++ does not support `long long' Is mozilla using a valid test? I'm using the Debian unstable packages: diz $ c++ -v Reading specs from /usr/lib/gcc-lib/i386-linux/3.3.1/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i386-linux Thread model: posix gcc version 3.3.1 20030728 (Debian prerelease) Is this possibly related to bug 11459?
There was a change in 3.3.1 which pedantic warnings into errors because those were changing into warnings from errors when -pedantic was added. I think the check is invalid as it should not be checking on if -pedantic errors out when long long is used but check for the micompiled instead.
Closing based on my previous analysis.
I've logged a mozilla bug for this: http://bugzilla.mozilla.org/show_bug.cgi?id=214051