P
pete
Jordan Abel wrote:
Good point!
7.1.3 Reserved identifiers
If the program declares or defines an identifier with the
same name as an identifier reserved in that context
(other than as allowed by 7.1.7), the behavior is undefined.
7.13 Future library directions
The following names are grouped under individual
headers for Convenience.
All external names described below are reserved
no matter what headers are included by the program.
7.13.8 String handling <string.h>
Function names that begin with str, mem,
or wcs and a lowercase letter
(followed by any combination of digits, letters, and underscore)
It tells me that function names starting with str are reserved,
"All external names described below are reserved "
and it doesn't say that they're not reserved
when they are not added.
There is no 'could be using it for other purposes' claim.
How does "function names" or anything else for that matter,
translate into permission to make declarations with
reserved identifiers?
And stop citing C99 at me, that's
not the standard in effect in 99% of implementations.
Good point!
7.1.3 Reserved identifiers
If the program declares or defines an identifier with the
same name as an identifier reserved in that context
(other than as allowed by 7.1.7), the behavior is undefined.
7.13 Future library directions
The following names are grouped under individual
headers for Convenience.
All external names described below are reserved
no matter what headers are included by the program.
7.13.8 String handling <string.h>
Function names that begin with str, mem,
or wcs and a lowercase letter
(followed by any combination of digits, letters, and underscore)
I still see
"function names" [which refutes your 'could be using it for other
purposes' claim] and '_may_ be added' [which tells me that if they're
NOT added, they're ok to use].
It tells me that function names starting with str are reserved,
"All external names described below are reserved "
and it doesn't say that they're not reserved
when they are not added.
There is no 'could be using it for other purposes' claim.
How does "function names" or anything else for that matter,
translate into permission to make declarations with
reserved identifiers?