Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite780f0f

Browse files
author
Bryan Henderson
committed
Ignore compiler warnings, because we can't escape "abstract declarator used
as declaration".
1 parent529189f commite780f0f

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

‎src/interfaces/libpq++/Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,18 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.4 1996/11/14 10:25:54 bryanh Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.5 1996/11/18 01:43:54 bryanh Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

1414
SRCDIR= ..
1515
include ../Makefile.global
1616

17-
CXXFLAGS=$(CFLAGS)
17+
# We have to override -Werror, which makes warnings, fatal, because we
18+
# inevitably get the warning, "abstract declarator used as declaration"
19+
# because of our inclusion of c.h and we don't know how to stop that.
20+
21+
CXXFLAGS=$(CFLAGS) -Wno-error
1822

1923
INCLUDE_OPT=\
2024
-I../backend\

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* Copyright (c) 1994, Regents of the University of California
1515
*
1616
* IDENTIFICATION
17-
* $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgenv.cc,v 1.1.1.1 1996/07/09 06:22:18 scrappy Exp $
17+
* $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgenv.cc,v 1.2 1996/11/18 01:43:55 bryanh Exp $
1818
*
1919
*-------------------------------------------------------------------------
2020
*/
@@ -23,14 +23,12 @@
2323
#include"libpq++.H"
2424

2525
#defineDefaultAuth DEFAULT_CLIENT_AUTHSVC
26-
#defineDefaultPortPOSTPORT
26+
#defineDefaultPort"5432"
2727

2828
// default constructor for PGenv
2929
// checks the environment variables
3030
PGenv::PGenv()
3131
{
32-
char* temp;
33-
3432
pgauth =NULL;
3533
pghost =NULL;
3634
pgport =NULL;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp