www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 208] New: Warning when compiling with "-release -w -inline" with import std.format;

reply d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: ary 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.


-- 
Jun 18 2006
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=208


deewiant gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE







*** This bug has been marked as a duplicate of 120 ***


-- 
Jun 19 2006