This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 7.1.3 violation?
- To: Michael Price <mprice at atl dot lmco dot com>
- Subject: Re: 7.1.3 violation?
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Wed, 12 Sep 2001 18:02:20 +0100 (BST)
- cc: <gcc at gcc dot gnu dot org>
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