diff options
Diffstat (limited to 'src/interfaces/libpq++/examples/Makefile')
-rw-r--r-- | src/interfaces/libpq++/examples/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interfaces/libpq++/examples/Makefile b/src/interfaces/libpq++/examples/Makefile index 1066d402255..21e0f38b7c4 100644 --- a/src/interfaces/libpq++/examples/Makefile +++ b/src/interfaces/libpq++/examples/Makefile @@ -5,7 +5,11 @@ SRCDIR= ../.. include ../../Makefile.global -CXXFLAGS= $(CFLAGS) +# We have to override -Werror, which makes warnings, fatal, because we +# inevitably get the warning, "abstract declarator used as declaration" +# because of our inclusion of c.h and we don't know how to stop that. + +CXXFLAGS= $(CFLAGS) -Wno-error INCLUDE_OPT= \ -I.. \ |