This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gtk-peer compile fixes for gcc-2.95


Hi,

On Fri, 2004-04-09 at 17:48, Archie Cobbs wrote:
> Now, back to my other question: why not just get rid of _POSIX_SOURCE?
> That seems to solve the problem in all cases (unless I'm confused, which
> is probably the case :-)

No, you seem to get it. I was confused during some of my earlier
experiments. gcc sets the POSIX_VERSION when -std=c89 is in effect which
is why I thought I needed _POSIX_SOURCE. I am running some more tests,
but it seems you are right the we only need _BSD_SOURCE.

Thanks,

Mark

P.S. It will still not compile with gcc-2.95, but it will when all
warnings that are now produced by default are fixed. Soon, I hope.

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]