[Issue 259] Comparing signed to unsigned does not generate an error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 12 22:01:42 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=259



--- Comment #49 from Lionello Lunesu <lio+bugzilla at lunesu.com> 2013-04-12 22:01:28 PDT ---
We should probably consider making this a warning or deprecation, instead of an
error. The silent failures within templates make it very hard to fix code.

Warnings and errors during template instantiations are suppressed and the final
"errors instantiating template" doesn't say why (not even with -v; this is
probably worth a filing a separate bug for.) 

I'm having to add a "printf" to expression.c to see those occurrences,
\util\dmd2\src\phobos\std\format.d(1216)
\util\dmd2\src\phobos\std\format.d(1224)
\util\dmd2\src\phobos\std\format.d(1395)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list