on DU4.0d/alpha, gethostbyname_r is only declared with -D_REENTRANT

Alexandre Oliva oliva@dcc.unicamp.br
Mon Jul 19 02:27:00 GMT 1999


So java/net/natInetAddress.cc fails to compile with g++ 2.95 (unless
-fpermissive is given, of course).  Any ideas about a clean
work-around for this one?  I'm not sure defining -D_REENTRANT
inconditionally is a good idea... :-(

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them



More information about the Java mailing list