Return-Path: owner-postman 
Delivery-Date: Fri, 13 May 94 23:47:53 -0700
Return-Path: owner-postman
Received: from localhost (localhost [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id VAA27048 for postgres-redist; Fri, 13 May 1994 21:57:02 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199405140457.VAA27048@nobozo.CS.Berkeley.EDU>
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from localhost (localhost [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id VAA27038; Fri, 13 May 1994 21:57:01 -0700
Message-Id: <199405140457.VAA27038@nobozo.CS.Berkeley.EDU>
X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost didn't use HELO protocol
From: aoki@postgres.Berkeley.EDU (Paul M. Aoki)
To: "NP (in)complete problem." <perera@pollux.cs.uga.edu>
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: ?
Reply-To: aoki@postgres.Berkeley.EDU (Paul M. Aoki)
In-reply-to: Your message of Sat, 14 May 94 00:13:35 EDT 
	     <9405140413.AA10136@pollux.cs.uga.edu> 
Date: Fri, 13 May 94 21:57:01 -0700
X-Sender: aoki@postgres.Berkeley.EDU
Resent-To: postgres-redist@postgres.Berkeley.EDU
X-Mts: smtp
Resent-Date: Fri, 13 May 94 21:57:02 -0700
Resent-XMts: smtp

"NP (in)complete problem." <perera@pollux.cs.uga.edu> writes:
> Everytime I compile some code with "libpq.h" I get the following
> warning mesg. What needs to be done to the header file to get rid of this ?
> ( gcc version 2.5.8, postgres 4.1, lex 2.4.6, and bison 1.22 )

i don't know if this is documented in the release notes, but
it's a pretty bad idea to try to use the prototypes in the 4.x
(x<2) header files, since a lot of them are wrong. :-P

if you insist on doing so (by using gcc without -traditional)
and on not upgrading to 4.2, you can silence those particular
messages by including <netinet/in.h>..
--
  Paul M. Aoki  |  CS Div., Dept. of EECS, UCB  |  aoki@postgres.Berkeley.EDU
                |  Berkeley, CA 94720           |  ...!uunet!ucbvax!aoki

===============================================================================
    To add/remove yourself from the POSTGRES mailing list: send mail with 
    the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"

    If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
    a human will deal with it.  DO NOT post to the "postgres" mailing list.
===============================================================================

