Mark Dilger <hornschnor...@gmail.com> writes: >> On Feb 17, 2017, at 3:37 PM, Peter Eisentraut >> <peter.eisentr...@2ndquadrant.com> wrote: >> If your compiler isn't warning about anything with that, then there is >> something wrong with it.
> $ gcc --version > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr > --with-gxx-include-dir=/usr/include/c++/4.2.1 > Apple LLVM version 7.3.0 (clang-703.0.31) > Target: x86_64-apple-darwin15.6.0 > Thread model: posix > InstalledDir: > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin Interesting. That option doesn't seem to do anything on my Mac's compiler either (Apple LLVM version 8.0.0 (clang-800.0.42.1)). However, it surely spews a metric buttload of warnings with RHEL6's gcc. Points up my concern upthread about different peoples' compilers interpreting these less-common switches differently. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers