c/9482: math builtins are always visible
Joseph S. Myers
jsm28@cam.ac.uk
Tue Jan 28 19:20:00 GMT 2003
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
More information about the Gcc-bugs
mailing list