Bug 208 – Warning when compiling with "-release -w -inline" with import std.format;
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-06-18T23:06:00Z
Last change time
2014-02-15T13:21:22Z
Assigned to
bugzilla
Creator
ary
Comments
Comment #0 by ary — 2006-06-18T23:06:34Z
I don't know if this is a bug, but compiling a program as simple as:
File main.d, compiled with dmd -release -w -inline main.d
----------------------
import std.format;
int main() {
return 0;
}
----------------------
gives the following warning:
warning - F:\ary\programacion\d\dmd\bin\..\src\phobos\std\format.d(689): implici
t conversion of expression ((va_arg)((argptr))) of type long to ulong can cause
loss of data
If either of "-inline" or "-release" is not specified, the warning is not issued.
Comment #1 by matti.niemenmaa+dbugzilla — 2006-06-19T03:22:58Z
*** This bug has been marked as a duplicate of 120 ***