[Issue 208] New: Warning when compiling with "-release -w -inline"	with import std.format; 
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun Jun 18 21:06:36 PDT 2006
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=208
           Summary: Warning when compiling with "-release -w -inline" with
                    import std.format;
           Product: D
           Version: 0.160
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: ary at esperanto.org.ar
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.
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list