agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: NP (in)complete problem. <perera@pollux.cs.uga.edu>
To: postgres@postgres.Berkeley.EDU
Date: Sat, 14 May 94 00:13:35 EDT
Message-ID: <9405140413.AA10136@pollux.cs.uga.edu> (raw)

Hi:

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 )

gcc -g -DYYDEBUG=1 -I/usr/postgres/include  -target sun4 -c  addattr.c
In file included from addattr.c:2:
/usr/postgres/include/libpq.h:215: warning: `struct sockaddr_in' declared inside parameter list
/usr/postgres/include/libpq.h:215: warning: its scope is only this definition or declaration,
/usr/postgres/include/libpq.h:215: warning: which is probably not what you want.
/usr/postgres/include/libpq.h:216: warning: `struct sockaddr_in' declared inside parameter list

Thanks,

-- Niranjan

===============================================================================
    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.
===============================================================================




reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: perera@pollux.cs.uga.edu
  Subject: Re: 
  In-Reply-To: <9405140413.AA10136@pollux.cs.uga.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox