Mail Archives: djgpp-workers/2002/11/02/18:54:05
..SNIP..
> A very minor thought - no parameter gets re-evaluated, so wouldn't
> it be simpler to just define a macro? The routine is still needed
> in case joe-bob makes a pointer.
In the email I indicated that this was copied from atol() and as such IMHO
the quickest and consistent way is what I did as the exisitng code does not
use a macro for the atol(). I checked the FSF GLIBC 2.3.1 and it does the
same, expect for names, copyright, typecasting and layout are different.
> And why does it specify C89 compatibility, when there was no long
> long in C89?
Looks like you didn't read the code correctly. The portability line is:-
@portability !ansi-c89, ansi-c99
Notice the "!' which is not C89.......
- Raw text -