tech-toolchain archive

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

Re: Make __CTASSERT1 true static assert



On Thu, Sep 19, 2019 at 04:44:34PM +0200, Kamil Rytarowski wrote:
> > Well, it is not broken for all supported use cases and there is no
> > runtime. So I still must be missing something here.
> > 
> 
> __CTASSERT is runtime VLA (at least in a number of cases).

That is why I wrote "for all supported use cases".
I am fine making it break compilation for all abuses (when the
expression is not a compile time constant expression).

Martin


Home | Main Index | Thread Index | Old Index