This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/9482: math builtins are always visible
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: <aj at suse dot de>
- Cc: <gcc-gnats at gcc dot gnu dot org>, <gcc-bugs at gcc dot gnu dot org>
- Date: Tue, 28 Jan 2003 17:49:42 +0000 (GMT)
- Subject: Re: c/9482: math builtins are always visible
On Tue, 28 Jan 2003 aj@suse.de wrote:
> According to ISO C99, log is only a reserved identifier if <math.h> is
> included. But <math.h> is not included in the example above and
> therefore compilation should succeed. But it fails as follows:
7.1.3p1 says library identifiers are always reserved for use as
identifiers with external linkage. Only C94 has different rules (for some
of the functions it added, and those special cases were removed in C99).
--
Joseph S. Myers
jsm28@cam.ac.uk