This is the mail archive of the gcc@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]

Re: 7.1.3 violation?


On Wed, 12 Sep 2001, Michael Price wrote:

> When reading the following transcript, keep in mind that <string.h> was
> never included. ISO 9899:1999 section 7.1.3 states that the library functions
> are only reserved if their associated headers are included and 7.1.4 doesn't
> list an exception. I could find no exception for strlen().

Wrong.

         -- All identifiers with external linkage  in  any  of  the
            following  subclauses  (including  the  future  library
            directions) are always reserved for use as  identifiers
            with external linkage.154)

This reservation does not depend on any standard headers being included.

-- 
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]