From f79136439f250f3eab6792870353a83ad993e71f Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 27 Dec 2010 15:03:24 -0500 Subject: [PATCH] Remove -fno-operator-names switch from cpluspluscheck. No longer needed now that bitand() and bitor() have been renamed. --- src/tools/pginclude/cpluspluscheck | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/tools/pginclude/cpluspluscheck b/src/tools/pginclude/cpluspluscheck index d6b04f5b64..1f0fa47ba8 100644 --- a/src/tools/pginclude/cpluspluscheck +++ b/src/tools/pginclude/cpluspluscheck @@ -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