Le dimanche 17 février 2013 21:00:56, Christian Jullien a écrit :
> _ _STDC_HOSTED_ _ The integer constant 1 if the implementation is a hosted
> implementation or the integer constant 0 if it is not.
>
> What NULL means? Is __STD__HOSTED__ is defined or not? With which value?
>
> To me:
> _ _STDC
Le dimanche 17 février 2013 21:00:56, Christian Jullien a écrit :
> _ _STDC_HOSTED_ _ The integer constant 1 if the implementation is a hosted
> implementation or the integer constant 0 if it is not.
>
> What NULL means? Is __STD__HOSTED__ is defined or not? With which value?
>
> To me:
> _ _STDC
half Of Michael
Matz
Sent: dimanche 17 février 2013 20:12
To: tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] What C version tcc is supposed to implement?
Am 17.02.2013 19:46, schrieb Thomas Preud'homme:
> Le samedi 16 février 2013 21:17:32, Michael Matz a écrit :
>> __STDC_HOSTED_
Am 17.02.2013 19:46, schrieb Thomas Preud'homme:
Le samedi 16 février 2013 21:17:32, Michael Matz a écrit :
__STDC_HOSTED__ : not set (incorrectly, it should probably be set to 1
given that tcc assumes a normal main() and that the
rest of the provided f
Le samedi 16 février 2013 21:17:32, Michael Matz a écrit :
> __STDC_HOSTED__ : not set (incorrectly, it should probably be set to 1
> given that tcc assumes a normal main() and that the
> rest of the provided facilities is provided by the C
>
ounces+eligis=orange...@nongnu.org
[mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of
Michael Matz
Sent: samedi 16 février 2013 21:18
To: tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] What C version tcc is supposed to implement?
Am 16.02.2013 20:16, schrieb Christian Jullien
Am 16.02.2013 20:16, schrieb Christian Jullien:
Thank you Michael,
I'm really sorry, my intention was not that someone tried to debug this
silly program.
The purpose of this small program was to illustrate that I don't know what C
version tcc is supposed to implement, with which feature.
I admit
chael Matz
Sent: samedi 16 février 2013 19:58
To: tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] What C version tcc is supposed to implement?
Hello Christian,
Am 16.02.2013 12:04, schrieb Christian Jullien:
> tcc_define_symbol(s, "__STDC_VERSION__", "199901L");
&
Hello Christian,
Am 16.02.2013 12:04, schrieb Christian Jullien:
tcc_define_symbol(s, "__STDC_VERSION__", "199901L");
This define pretends it is ISO/IEC 9899:1999 (E)
Strictly speaking that's optimistic, because it also depends on the C
library on which tcc has no influence (some embedd
tcc_define_symbol(s, "__STDC_VERSION__", "199901L");
This define pretends it is ISO/IEC 9899:1999 (E)
Because __STDC_VERSION__ is set to 199901L
This code should be legal:
#include
#include
int main()
{
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
wchar_t* s = L"
10 matches
Mail list logo