[Issue 11354] New: dmd2 wont compile properly under C++11/CLang
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Oct 25 10:54:13 PDT 2013
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 at puremagic.com
ReportedBy: huhlig at gmail.com
--- Comment #0 from Hans W. Uhlig <huhlig at 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: -------
More information about the Digitalmars-d-bugs
mailing list