Re: network.c : compilation failure with gcc 2.7.2.2 with latest snapshot

From: Date: Sat, 09 Sep 2000 16:09:57 +0000
Subject: Re: network.c : compilation failure with gcc 2.7.2.2 with latest snapshot
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-32772@lists.php.net to get a copy of this message
On Sat, Sep 09, 2000 at 05:36:07PM +0200, Olivier Cahagne wrote: > Hi, > > I get the following compilation warnings with php latest snapshot > 200009090745, gcc 2.7.2.2 on NetBSD 1.3.3. > I think it comes from gcc being "old" because it compiles fine on > another BSD (OpenBSD) with gcc 2.95.1, nor NetBSD 1.4.2 with egcs 2.90.66. I made a change in configure today that I think fixes this, it's in the php4-200009090845 snapshot. So if you just tried one hour later... (: Let me know if it works. I think the problem is that configure finds getaddrinfo in /usr/pkg/include/bind/netdb.h while I'm not including it at compile time. I'm including netdb.h but it's the one in /usr/include. I'm not sure how to fix this properly. Perhaps I'll make a special check for that one. Todays fix just tries to ignore the getaddrinfo in bind/netdb.h. Thanks for the report, I need them, Stig

« previous php.dev (#32772) next »