www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2212] New: phobos itself should be able to be compiled with '-w' switch

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2212

           Summary: phobos itself should be able to be compiled with '-w'
                    switch
           Product: D
           Version: 2.016
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: someanon yahoo.com


v2.016, with '-w' switch:

dmd/bin/../bin/../src/phobos/std/string.d(186): function std.string.icmp no
return at end of function


-- 
Jul 09 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2212






v2.017:

warning - /dmd/bin/../bin/../src/phobos/std/file.d(1064): Error: implicit
conversion of expression (fta / 1000L) of type long to int can cause loss of
data
warning - /dmd/bin/../bin/../src/phobos/std/file.d(1065): Error: implicit
conversion of expression (cast(long)(cast(double)fta / 1000 * 1e+06) %
1000000L) of type long to int can cause loss of data
warning - /dmd/bin/../bin/../src/phobos/std/file.d(1067): Error: implicit
conversion of expression (ftm / 1000L) of type long to int can cause loss of
data
warning - /dmd/bin/../bin/../src/phobos/std/file.d(1068): Error: implicit
conversion of expression (cast(long)(cast(double)ftm / 1000 * 1e+06) %
1000000L) of type long to int can cause loss of data


-- 
Jul 11 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2212







 v2.017:
 
 warning - /dmd/bin/../bin/../src/phobos/std/file.d(1064): Error: implicit
 conversion of expression (fta / 1000L) of type long to int can cause loss of
 data
 warning - /dmd/bin/../bin/../src/phobos/std/file.d(1065): Error: implicit
 conversion of expression (cast(long)(cast(double)fta / 1000 * 1e+06) %
 1000000L) of type long to int can cause loss of data
 warning - /dmd/bin/../bin/../src/phobos/std/file.d(1067): Error: implicit
 conversion of expression (ftm / 1000L) of type long to int can cause loss of
 data
 warning - /dmd/bin/../bin/../src/phobos/std/file.d(1068): Error: implicit
 conversion of expression (cast(long)(cast(double)ftm / 1000 * 1e+06) %
 1000000L) of type long to int can cause loss of data
 
This problem is caused by the -release flag. --
Jan 09 2009
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2212


clugdbug yahoo.com.au changed:

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





Fixed DMD2.027.
The Phobos win32.mak file was changed to include the -w flag. This ensures that
all future DMD releases will be -w compatible.


-- 
Apr 03 2009