Mail Archives: djgpp-workers/2000/04/24/00:42:58
On Sun, 23 Apr 2000, DJ Delorie wrote:
> Not if you add a comment:
>
> #define EDOM 1
> #define ERANGE 2
>
> /* New errors for C99 */
> #define EILSEQ 39
I wonder whether we want some preprocessing symbol around the
C99-specific stuff, in case someone would use an older compiler
version.
For example, we could use "#if __STDC_VERSION__ >= 199901", or look at
__GNUC__ and __GNUC_MINOR__ (or both). See my other mail about a
specific suggestion.
It seems we will need this anyway, for incompatible features such as
__restrict__, so we might as well wrap the semi-compatible features
also.
Comments?
- Raw text -