]> granicus.if.org Git - postgresql/commitdiff
Ignore compiler warnings, because we can't escape "abstract declarator used
authorBryan Henderson <bryanh@giraffe.netgate.net>
Mon, 18 Nov 1996 01:43:55 +0000 (01:43 +0000)
committerBryan Henderson <bryanh@giraffe.netgate.net>
Mon, 18 Nov 1996 01:43:55 +0000 (01:43 +0000)
as declaration".

src/interfaces/libpq++/Makefile
src/interfaces/libpq++/pgenv.cc

index 90e9a770c22ca2f38063fea1380c33489eb18b57..941c07da4f226ca4f281bc3949448fb9d4cf490a 100644 (file)
@@ -7,14 +7,18 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.4 1996/11/14 10:25:54 bryanh Exp $
+#    $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.5 1996/11/18 01:43:54 bryanh Exp $
 #
 #-------------------------------------------------------------------------
 
 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../backend \
index aab4f213eb23f5b26c02eeafd093d984692f4863..7d696cf043f3c7573f192eaefc97ffe3832f5ef5 100644 (file)
@@ -14,7 +14,7 @@
  * Copyright (c) 1994, Regents of the University of California
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgenv.cc,v 1.1.1.1 1996/07/09 06:22:18 scrappy Exp $
+ *    $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgenv.cc,v 1.2 1996/11/18 01:43:55 bryanh Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include "libpq++.H"
 
 #define DefaultAuth DEFAULT_CLIENT_AUTHSVC 
-#define DefaultPort POSTPORT
+#define DefaultPort "5432"
 
 // default constructor for PGenv
 // checks the environment variables
 PGenv::PGenv()
 {
-  char* temp;
-
   pgauth = NULL;
   pghost = NULL;
   pgport = NULL;