BetterC is so much bugs, is Walter really use it in DMD?

rikki cattermole rikki at cattermole.co.nz
Thu Oct 25 13:54:13 UTC 2018


On 26/10/2018 2:51 AM, Adam D. Ruppe wrote:
> On Thursday, 25 October 2018 at 12:47:17 UTC, test wrote:
>> Is your people really use it to build compiler ?
> 
> No, the compiler is built as ordinary D. betterC is just a toy switch.
> 
> But the bug there is that you used TLS without properly initializing it. 
> I am kinda of the opinion that betterC should make this an error, or at 
> least that -betterC should imply -vtls, since it is so frequently a 
> mistake.

Its not TLS at fault. See my minimized code as an example.
-betterC seems to be calling dtor when it shouldn't be (existing known bug).


More information about the Digitalmars-d mailing list