Re: [Tinycc-devel] Introduce C2X _Static_assert syntax

2020-02-28 Thread Christian Jullien
Hi Matthias, I'm not an official maintainer but, IMHO, you should also add -std=xxx option that corresponds to the C version of the new features you want to introduce. I added c11 few months ago: -std=c99Conform to the ISO 1999 C standard (default). -std=c11Conform to the ISO 2011 C s

[Tinycc-devel] Introduce C2X _Static_assert syntax

2020-02-28 Thread uso ewin
Hello, as I was working on fixing _Static_assert bug, I've saw that it was fairly easy to add C2x _Static_assert syntax support to tinycc. the code is here: https://github.com/cosmo-ray/tcc/commits/static_assert_c2x The only difference with current _Static_assert is that we can omit the literal s

Re: [Tinycc-devel] string literal concatenation in _Static_assert

2020-02-28 Thread uso ewin
Hello, I think I've fix this issue on my github repository: https://github.com/cosmo-ray/tcc/commit/37af768f4524923d349f473e0b7884602069e368 Can you please review it ? If no one answer I'll wait a week and push it. Thanks, Matthias On Tue, Jan 14, 2020 at 7:23 AM Christian Jullien wrote: > >