[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] _Static_assert support
From: |
Michael Matz |
Subject: |
Re: [Tinycc-devel] _Static_assert support |
Date: |
Sun, 28 Apr 2019 05:30:02 +0200 (CEST) |
User-agent: |
Alpine 2.21 (LSU 202 2017-01-01) |
Hello,
On Sun, 28 Apr 2019, uso ewin wrote:
I've add _Static_assert support on my github:
https://github.com/cosmo-ray/tcc/commit/5a0101856b66bdeb542ad8ead5173fbafa81cfab
The patch is pretty small, should I push it on mob ?
Yes, but it would be nice if you'd put in a test that it actually does
what we want into tests/tests2/60_errors_and_warnings.c (i.e. that the
message shows with a _Static_assert(0,...), no need for testing a
succeeding variant).
Ciao,
Michael.