tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Patch that adds missing conditional standard defines


From: David Mertens
Subject: Re: [Tinycc-devel] Patch that adds missing conditional standard defines and iso646.h
Date: Mon, 17 Jul 2017 10:20:54 -0400

Hello Petr,

Since tcc implements variable length arrays, why would we define __STDC_NO_VLA__?

David

On Mon, Jul 17, 2017 at 9:50 AM, Petr Skočík <address@hidden> wrote:
Hi.

This adds
#define __STDC_NO_ATOMICS__ 1
#define __STDC_NO_COMPLEX__ 1
#define __STDC_NO_THREADS__ 1
#define __STDC_NO_VLA__ 1
and
an iso646.h header.

I think it should included in tcc.

I'm using an all of C header (https://pastebin.com/bjwRJY9Q) and if this
is part of tcc, I won't have to special-case the compiler inside the header.

Best regards,
Petr Skocik

_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel




--
 "Debugging is twice as hard as writing the code in the first place.
  Therefore, if you write the code as cleverly as possible, you are,
  by definition, not smart enough to debug it." -- Brian Kernighan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]