This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: IRIX64 6.5, gcc 2.95.1: weird inet_ntoa() behaviour
- To: vakatov at peony dot nlm dot nih dot gov, lavr at peony dot nlm dot nih dot gov
- Subject: Re: IRIX64 6.5, gcc 2.95.1: weird inet_ntoa() behaviour
- From: David Starks-Browning <starksb at ebi dot ac dot uk>
- Date: Thu, 25 May 2000 16:04:33 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <200005241905.MAA13555@kankakee.wrs.com>
This is a known problem. You can find discussions and work-arounds
with a Deja-news search of inet_ntoa against comp.sys.sgi.*.
It would be great if gcc could build in a workaround, like a
gcc-version of inet_ntoa for IRIX.
> > Date: Wed, 24 May 2000 10:51:32 -0400 (EDT)
> > From: Denis Vakatov <vakatov@peony.nlm.nih.gov>
> > To: gcc@gcc.gnu.org
> > CC: vakatov@peony.nlm.nih.gov, lavr@peony.nlm.nih.gov
>
> First, you used the wrong list. You seem to want to report a bug in
> the compiler. There is a list just for doing that that we created.
> I'll copy the whole message there.
>
> Second, you don't provide a complete testcase. Certails the manual
> and the webpages by now describe what a test case is.
>
> I suspect the code in the headerfiles is not ANSI C code. If that is
> the case, we should probably fixincludes it.
>
> > See the attached code:
>
> > inet_ntoa() produces an invalid result when the following code
> > compiled with GCC.
> > However, it produces a correct result when compiled with native "cc".