other/5512: javalib gethostname decl check doesn't work for cross-compile

jsantala@tml.hut.fi jsantala@tml.hut.fi
Mon Jan 28 04:16:00 GMT 2002


>Number:         5512
>Category:       other
>Synopsis:       javalib gethostname decl check doesn't work for cross-compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 28 04:16:04 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jukka Santala
>Release:        gcc version 3.1 20020122 (experimental)
>Organization:
>Environment:

>Description:
../../../gcc/libjava/java/net/natInetAddress.cc:58: declaration of C function `
   int gethostname(char*, int)' conflicts with
/skiff/local/arm-linux/include/unistd.h:733: previous declaration `int
   gethostname(char*, unsigned int)' here
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: inode/chardevice; name="null"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="null"



More information about the Gcc-prs mailing list