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: Petr Skočík
Subject: Re: [Tinycc-devel] Patch that adds missing conditional standard defines and iso646.h
Date: Mon, 17 Jul 2017 16:28:14 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

Apologies. I had checked the docs at
https://bellard.org/tcc/tcc-doc.html
and they said VLAs were currently missing.

On 07/17/2017 04:20 PM, David Mertens wrote:
> 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
> <mailto: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 <mailto:address@hidden>
>     https://lists.nongnu.org/mailman/listinfo/tinycc-devel
>     <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
> 
> 
> _______________________________________________
> Tinycc-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
> 

Attachment: 0001-add-missing-standard-macros-and-iso646.h.patch
Description: Text Data


reply via email to

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