7.1.3 violation?

Andreas Schwab schwab@suse.de
Wed Sep 12 10:07:00 GMT 2001


Michael Price <mprice@atl.lmco.com> writes:

|> 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().

Section 7.1.3 says:
  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.

Thus strlen is reserved even without including <string.h>.

Andreas.

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de				completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5



More information about the Gcc mailing list