Mail Archives: djgpp-workers/2003/03/06/13:20:19
Esa A E Peuha wrote:
> On Thu, 6 Mar 2003, Richard Dawe wrote:
>
> > Below is a patch to add the _tolower and _toupper functions
> > required by new POSIX.
> >
> > OK to commit?
> [snip]
> > + @portability !ansi, posix
>
> That line means that these functions are older POSIX, which they aren't.
> You'll have to use the longer form:
>
> @portability !ansi-c89, !ansi-c99, !posix-1003.2-1992, posix-1003.1-2001
Surely !ansi suffices? Which brings up the relative invisibility
of !. This has bitten me before. Wouldn't the use of NOT be more
obvious to the reader?
Another minor thought - the standard is really ISO, and ANSI is
somewhat parochial IMO. Where things differ between C99 and
C89/C90/C94 it might be better to specify just the demarcation
line(s), eg: "!C94, C99, !posix-1992, posix-2001".
--
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!
- Raw text -