No I’m not. ISO C99 tells us that those header are mandatory. I would not say 
that VC++ is ISO compliant. Fortunately, <iso646.h> contains on defines so it’s 
safe to add this include to make tcc a better ISO C99 as it claims to be.

 

From: Tinycc-devel [mailto:[email protected]] On 
Behalf Of NightStrike
Sent: dimanche 13 janvier 2019 16:19
To: [email protected]
Subject: Re: [Tinycc-devel] Missing C99 standard headers in win32

 

Are you using the mingw-w64 runtime? We provide c99 support through an extra 
library. MS does not. 

On Sun, Jan 13, 2019, 4:26 AM Christian Jullien <[email protected] wrote:

ISO/IEC 9899 :1999 (E) specifies that (Section 7.1.2 p. 165), Standard headers 
are:

 

<assert.h>

<complex.h>

<ctype.h>

<errno.h>

<fenv.h>

<float.h>

<inttypes.h>

<iso646.h>

<limits.h>

<locale.h>

<math.h>

<setjmp.h>

<signal.h>

<stdarg.h>

<stdbool.h>

<stddef.h>

<stdint.h>

<stdio.h>

<stdlib.h>

<string.h>

<tgmath.h>

<time.h>

<wchar.h>

<wctype.h>

 

Those already in win32 lack

<complex.h> complex (and imaginary) support

<iso646.h>     restricted character set support via digraphs

<tgmath.h>  type-generic math macros

 

To make tcc a little bit more C99 conformant I added <iso646.h>

 

More includes are missing to support C11 but I’ll do nothing until we decide 
how C11 is going to be supported by tcc

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to