Recommendation: Compile DMD with More Warnings

Iain Buclaw ibuclaw at gdcproject.org
Sun Apr 6 22:15:05 PDT 2014


On 6 Apr 2014 21:15, "David Nadlinger" <code at klickverbot.at> wrote:
>
> On Sunday, 6 April 2014 at 17:39:38 UTC, bearophile wrote:
>>
>> I'd like dmd/ldc2 compilers to compile with warnings active on default,
plus to have a switch to disable them.
>
>
> LDC is actually built with -Wall -Wextra by default. The warnings are
disabled for the DMD source files though, as leaving them on just floods
the console output, making actual issues much harder to see.
>
> We will have to look into additionally adding warning push/pop pragmas
around the frontend includes in the "proper" LDC source files though.
Currently, we get quite a bit of log spam from them, and some of them are
unlikely to be addressed in the upstream source.
>

You should have more abstraction in LDC between the two frontend layers. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140407/2f0ccae1/attachment.html>


More information about the Digitalmars-d mailing list