This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [PATCH]: Add wctype builtin functions


On Thu, 25 Mar 2004, Kaveh R. Ghazi wrote:

> This patch adds some wctype builtin functions so we can mark their
> attributes.  I made them all C99 and "pure".

Except for iswblank, they should be C94 built-ins (a category we don't
currently have but which can easily be added).

(C94 has the peculiarity that functions with names *not* already reserved
in C90 were only reserved as identifiers with external linkage if some
translation unit includes <wchar.h> or <wctype.h>, so functions such as
wprintf which were added in C94 can only be C99 built-ins.  But C90
reserves is[a-z]* and to[a-z]* so this isn't a problem for the wctype
functions in this patch.)

-- 
Joseph S. Myers
jsm@polyomino.org.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]