February 09, 2008 [Issue 1822] New: String slicing in 64-bit gdc causes spurious warnings | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1822 Summary: String slicing in 64-bit gdc causes spurious warnings Product: DGCC aka GDC Version: 0.24 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: glue layer AssignedTo: dvdfrdmn@users.sf.net ReportedBy: david@acz.org The warning does not occur with dmd or 32-bit gdc. wconv.d: import std.string; void main() { auto s = "hello world"; auto pos = s.find(' '); auto hello = s[0 .. pos]; } $ gdmd -w wconv warning - wconv.d:7: Error: implicit conversion of expression (pos) of type long to ulong can cause loss of data -- |
September 01, 2010 [Issue 1822] String slicing in 64-bit gdc causes spurious warnings | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1822 Iain Buclaw <ibuclaw@ubuntu.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Iain Buclaw <ibuclaw@ubuntu.com> 2010-09-01 11:25:29 PDT --- Fixed in hg commit 232 / release 0.25. -- 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