Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2002 14:30:04 -0700 (PDT)
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/40378: stdlib.h gives needless warnings with -ansi
Message-ID:  <200207092130.g69LU4tk092808@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/40378; it has been noted by GNATS.

From: Bruce Evans <bde@zeta.org.au>
To: Dimitry Andric <dim@xs4all.nl>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: misc/40378: stdlib.h gives needless warnings with -ansi
Date: Wed, 10 Jul 2002 07:24:08 +1000 (EST)

 On Tue, 9 Jul 2002, Dimitry Andric wrote:
 
 > >Description:
 > Since my latest cvsup (from 4.6-RC to 4.6-STABLE), lots of programs
 > that are built with the gcc `-ansi' option have started complaining
 > about stdlib.h, like this:
 >
 > In file included from ../../../../../../extras/Mesa/src/glheader.h:60,
 >                  from ../../../../../../extras/Mesa/src/types.h:32,
 >                  from mgafastpath.c:31:
 > /usr/include/stdlib.h:108: warning: ANSI C does not support `long long'
 > /usr/include/stdlib.h:112: warning: ANSI C does not support `long long'
 >
 > It seems that there has been some fiddling with __LONG_LONG_SUPPORTED
 > and related defines, and these two functions have been missed, maybe?
 
 RELENG_4 was broken here between 4.2-RELEASE and 4.3-RELEASE.  The
 "fiddling" to fix the problem is only in -current.
 
 Bruce
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207092130.g69LU4tk092808>