Tom, Robert, etc. Ok, this issue seems to be specific to some versions of gcc. Note that in testing this nobody enabled any special compile or environment variables of any kind, so if there's a -Werror where it shouldn't be, it's in our code.
Succeeds on: Red Hat, gcc 4.4.3 OSX, gcc 4.2.1 Debian, gcc 4.3.2 FreeBSD, gcc 4.2.1 Fails on: Ubuntu, gcc 4.3.3 Ubuntu, gcc 4.4.1 OSX 10.5, gcc 4.0.1* I'd assume this was some kind of Ubuntu thing, except that I got it to fail on OSX as well. Ideas? -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com * fails at: gcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -Werror -I../../../../src/include -c -o dbsize.o dbsize.c cc1: warnings being treated as errors dbsize.c: In function ‘pg_relation_filepath’: dbsize.c:577: warning: ‘rnode.spcNode’ may be used uninitialized in this function dbsize.c:577: warning: ‘rnode.dbNode’ may be used uninitialized in this function make[4]: *** [dbsize.o] Error 1 make[3]: *** [adt-recursive] Error 2 make[2]: *** [utils-recursive] Error 2 make[1]: *** [all] Error 2 make: *** [all] Error 2 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers