digitalmars.D.bugs - [Issue 11354] New: dmd2 wont compile properly under C++11/CLang
- d-bugmail puremagic.com (32/32) Oct 25 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11354
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 [ 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: -------
Oct 25 2013