[Issue 2212] phobos itself should be able to be compiled with '-w' switch

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 9 10:40:25 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2212





------- Comment #2 from david at ferenczi.net  2009-01-09 12:40 -------
(In reply to comment #1)
> 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.


-- 



More information about the Digitalmars-d-bugs mailing list