ce mot aussi n'apparaît pas dans le paragraphe que tu cites :)
Version imprimable
Tu chipotes, là. Je ne sais pas où tu veux en venir et c'est de toute manière HS dans ce fil, mais tu peux aussi consulter le lien que je t'ai donné par toi-même pour trouver l'info:
ThierryCitation:
7.26 Future library directions
1 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.
Plus de détails ?
n1124 :
Citation:
7. Library
...
7.1 Introduction
...
7.1.3 Reserved identifiers
1 Each header declares or defines all identifiers listed in its associated subclause, and optionally declares or defines identifiers listed in its associated future library directions subclause and identifiers which are always reserved either for any use or for use as file scope identifiers.
— All identifiers that begin with an underscore and either an uppercase letter or another underscore are always reserved for any use.
— All identifiers that begin with an underscore are always reserved for use as identifiers with file scope in both the ordinary and tag name spaces.
— Each macro name in any of the following subclauses (including the future library directions) is reserved for use as specified if any of its associated headers is included; unless explicitly stated otherwise (see 7.1.4).
— 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.157)
— Each identifier with file scope listed in any of the following subclauses (including the future library directions) is reserved for use as a macro name and as an identifier with file scope in the same name space if any of its associated headers is included.
....
7.26 Future library directions
...
7.26.10 General utilities <stdlib.h>
1 Function names that begin with str and a lowercase letter may be added to the declarations in the <stdlib.h> header.
7.26.11 String handling <string.h>
1 Function names that begin with str, mem, or wcs and a lowercase letter may be added to the declarations in the <string.h> header.
...
d'accord je comprends bien mais dans ce cas un compilateur à jour par rapport à la norme et bien réglé devrait détecter ce genre d'utilisations frauduleuses si j'ose dire ?
j'imagine aussi que la plupart des compilateurs ne l'implémentent pas complétement...parce que c'est trop difficile ?
Je ne connais aucun compilateur qui détecte ça...
Peut être un Lint ou un analyseur de code professionnel...
http://www.klocwork.com/products/ins...FRvlXgod_BbEzg
erc.