October 25, 2013 [Issue 11354] New: dmd2 wont compile properly under C++11/CLang | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=11354 Summary: dmd2 wont compile properly under C++11/CLang Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: huhlig@gmail.com --- Comment #0 from Hans W. Uhlig <huhlig@gmail.com> 2013-10-25 10:54:12 PDT --- [ 1%] Building CXX object CMakeFiles/LDCShared.dir/dmd2/func.c.o src/ldc/dmd2/func.c:582:18: error: case value evaluates to -2, which cannot be narrowed to type 'size_t' (aka 'unsigned long') [-Wc++11-narrowing] case -2: // can't determine because of fwd refs ^ src/ldc/dmd2/func.c:542:18: error: case value evaluates to -1, which cannot be narrowed to type 'size_t' (aka 'unsigned long') [-Wc++11-narrowing] case -1: ^ src/ldc/dmd2/func.c:674:22: error: case value evaluates to -2, which cannot be narrowed to type 'size_t' (aka 'unsigned long') [-Wc++11-narrowing] case -2: ^ src/ldc/dmd2/func.c:671:22: error: case value evaluates to -1, which cannot be narrowed to type 'size_t' (aka 'unsigned long') [-Wc++11-narrowing] case -1: -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation