From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Adam Haberlach <adam(at)newsnipple(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Warning question |
Date: | 2000-06-19 15:55:27 |
Message-ID: | 15231.961430127@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Adam Haberlach <adam(at)newsnipple(dot)com> writes:
> Every time config.h is compiled, I get the following warning--is this
> something that can/should be easily fixed, or should I figure out
> which gcc command-line flag turns this off?
> /Scratch/postgres-cvs/pgsql/src/include/config.h:411: warning: `struct in_addr' declared inside parameter list
> /Scratch/postgres-cvs/pgsql/src/include/config.h:411: warning: its scope is only this definition or declaration,
> /Scratch/postgres-cvs/pgsql/src/include/config.h:411: warning: which is probably not what you want.
It means you haven't imported a header that defines struct in_addr.
It looks like config.h is trying to do that just above the inet_aton
declaration, but evidently it needs some more work on your platform...
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2000-06-19 16:15:02 | On examine_subclass |
Previous Message | Oleg Broytmann | 2000-06-19 15:29:27 | Built with PostgreSQL (images) |