can not find the error: Error: TypeInfo cannot be used with -betterC

aliak something at something.com
Wed Jul 17 20:09:35 UTC 2019


On Wednesday, 17 July 2019 at 15:52:39 UTC, Newbie2019 wrote:
> when build my project with -betterC, it throw this error:
>
> Error: TypeInfo cannot be used with -betterC
>
> There is no location information about it,  how can I find what 
> code cause this ?

You usually get that *extrememly* unhelpful error message when 
you use anything that uses TypeInfo. So it can be quite hard to 
figure out.

Did it start happening after you added a class or did something 
with exceptions? At least those would cause that error.


More information about the Digitalmars-d-learn mailing list