diff options
| author | Bruce Momjian | 1998-09-11 16:56:24 +0000 |
|---|---|---|
| committer | Bruce Momjian | 1998-09-11 16:56:24 +0000 |
| commit | f1ab71ec5f2614540587282bcaa4dad44a54efa7 (patch) | |
| tree | 9329e0bbd635d259f41403b6075a9aeb279ca05a /src/interfaces/libpq++ | |
| parent | 339d2769a1ba86b292bcef5c3903766ae256538b (diff) | |
The attached patches fix the following problems:
1. The UnixWare tas macro was reformatted (by indent or it like?) which caused
it to break. The asm macro construct is very particular about the %mem
construct -- it has to start in column 1.
2. When compiling libpq++, g++ was used even if configure found the C++ com-
piler to be CC.
3. When compiling libpq++, '-Wno-error' was added to CXXFLAGS, even if the
compiler wasn't g++.
Billy G. Allie
Diffstat (limited to 'src/interfaces/libpq++')
| -rw-r--r-- | src/interfaces/libpq++/Makefile.in (renamed from src/interfaces/libpq++/Makefile) | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/interfaces/libpq++/Makefile b/src/interfaces/libpq++/Makefile.in index 9ccbe946578..38c56c12a4c 100644 --- a/src/interfaces/libpq++/Makefile +++ b/src/interfaces/libpq++/Makefile.in @@ -7,7 +7,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.20 1998/08/22 04:24:35 momjian Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.1 1998/09/11 16:56:23 momjian Exp $ # #------------------------------------------------------------------------- @@ -18,11 +18,17 @@ LIBPQHEADERDIR = $(SRCHEADERDIR)/libpq LIBNAME= libpq++ +CXX=@CXX@ + # 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. +ifeq ($(CXX), g++) CXXFLAGS= $(CFLAGS) -Wno-error +else +CXXFLAGS= $(CFLAGS) +endif INCLUDE_OPT= \ -I$(SRCDIR)/backend \ |
