From 2e58024066e1ddf63d729ffb42077938fe25a9bf Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 15 Jun 2002 18:49:29 +0000 Subject: This patch fixes a few minor problems with libpq++: remove the deprecated PQExec(" ") in the wrapper around PQnotifies(), fix the Makefile for the examples so that they will actually compile properly (with the exception of #5, which depends on internal headers), make a minor change to libpq++.h so that "make examples" now works on my machine, update some documentation, fix some grammatical problems, and remove some of the more hideous comments. Neil Conway --- src/interfaces/libpq++/examples/Makefile | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'src/interfaces/libpq++/examples') diff --git a/src/interfaces/libpq++/examples/Makefile b/src/interfaces/libpq++/examples/Makefile index c6ce50f8c68..919e637712f 100644 --- a/src/interfaces/libpq++/examples/Makefile +++ b/src/interfaces/libpq++/examples/Makefile @@ -1,18 +1,22 @@ +#------------------------------------------------------------------------- # -# Makefile for example programs +# Makefile for libpq++ examples # +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California +# +# $Header: /cvsroot/pgsql/src/interfaces/libpq++/examples/Attic/Makefile,v 1.13 2002/06/15 18:49:29 momjian Exp $ +# +#------------------------------------------------------------------------- +subdir = src/interfaces/libpq++/examples +top_builddir = ../../../.. +include $(top_builddir)/src/Makefile.global LIBNAME= libpq++ -HEADERDIR= /usr/local/pgsql/include -LIBPQDIR= /usr/local/pgsql/lib - - -# 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. +HEADERDIR= $(includedir) +LIBPQDIR= $(libdir) -#CXXFLAGS= $(CFLAGS) -Wno-error -Wno-unused -Wl,-Bdynamic CXXFLAGS= $(CFLAGS) CXXFLAGS+= -I$(HEADERDIR) -- cgit v1.2.3