This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
other/5512: javalib gethostname decl check doesn't work for cross-compile
- From: jsantala at tml dot hut dot fi
- To: gcc-gnats at gcc dot gnu dot org
- Date: 28 Jan 2002 12:12:05 -0000
- Subject: other/5512: javalib gethostname decl check doesn't work for cross-compile
- Reply-to: jsantala at tml dot hut dot fi
>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"