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]

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


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