]> granicus.if.org Git - postgresql/commitdiff
Remove -fno-operator-names switch from cpluspluscheck.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 27 Dec 2010 20:03:24 +0000 (15:03 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 27 Dec 2010 20:03:24 +0000 (15:03 -0500)
No longer needed now that bitand() and bitor() have been renamed.

src/tools/pginclude/cpluspluscheck

index d6b04f5b6407b2553f7b1f9e56c1af76d78b4636..1f0fa47ba81eff2296f429ce131a82dbe90fe51d 100644 (file)
@@ -30,7 +30,5 @@ do
            echo '};'
        } >$tmp/test.cpp
 
-       # -fno-operator-names omits the definition of bitand and bitor, which
-       # collide with varbit.h.  Could be fixed, if one were so inclined.
-       ${CXX:-g++} -I . -I src/include -fsyntax-only -fno-operator-names -Wall -c $tmp/test.cpp
+       ${CXX:-g++} -I . -I src/include -fsyntax-only -Wall -c $tmp/test.cpp
 done