This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

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



>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"


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