www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Executable not created, when a implicit conversion warning appears

reply David L. Davis <SpottedTiger yahoo.com> writes:





















output:
-------
C:\dmd>dmd sample.d -w
warning - sample.d(16): implicit conversion of expression (l) of type long to
ulong can cause loss of data

C:\dmd>dir sample*.*
Volume in drive C has no label.
Volume Serial Number is E425-B38A

Directory of C:\dmd

04/22/2005  04:45 PM             1,071 sample.d
04/22/2005  04:45 PM             1,067 sample.d.bak
02/14/2005  01:05 PM    <DIR>          samples
2 File(s)          2,138 bytes
1 Dir(s)  29,174,366,208 bytes free

C:\dmd>

David L.

-------------------------------------------------------------------
"Dare to reach for the Stars...Dare to Dream, Build, and Achieve!"
-------------------------------------------------------------------

MKoD: http://spottedtiger.tripod.com/D_Language/D_Main_XP.html
Apr 22 2005
parent reply Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David L  Davis schrieb am Sat, 23 Apr 2005 02:17:11 +0000 (UTC):





















 output:
 -------
 C:\dmd>dmd sample.d -w
 warning - sample.d(16): implicit conversion of expression (l) of type long to
 ulong can cause loss of data

 C:\dmd>dir sample*.*
 Volume in drive C has no label.
 Volume Serial Number is E425-B38A

 Directory of C:\dmd

 04/22/2005  04:45 PM             1,071 sample.d
 04/22/2005  04:45 PM             1,067 sample.d.bak
 02/14/2005  01:05 PM    <DIR>          samples
 2 File(s)          2,138 bytes
 1 Dir(s)  29,174,366,208 bytes free
That's the nature of the -w flag. Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCaeSc3w+/yD4P9tIRAsTZAJ4qtE+gTMxeTANYZYnqDQn7SiH+jQCgqavy Lqqv4i6JskvDYsJDBBR+Xd0= =tUIM -----END PGP SIGNATURE-----
Apr 22 2005
parent David L. Davis <SpottedTiger yahoo.com> writes:
In article <st4pj2-1b4.ln1 lnews.kuehne.cn>, Thomas Kuehne says...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David L  Davis schrieb am Sat, 23 Apr 2005 02:17:11 +0000 (UTC):





















 output:
 -------
 C:\dmd>dmd sample.d -w
 warning - sample.d(16): implicit conversion of expression (l) of type long to
 ulong can cause loss of data

 C:\dmd>dir sample*.*
 Volume in drive C has no label.
 Volume Serial Number is E425-B38A

 Directory of C:\dmd

 04/22/2005  04:45 PM             1,071 sample.d
 04/22/2005  04:45 PM             1,067 sample.d.bak
 02/14/2005  01:05 PM    <DIR>          samples
 2 File(s)          2,138 bytes
 1 Dir(s)  29,174,366,208 bytes free
That's the nature of the -w flag. Thomas
Thomas, thanks for pointing that out! BTW, I'd like the thank you for the great job you're doing, and a wonderful service you've given to the whole D Community in starting and maintaining your Dstress project. Also I'd like give Walter a special thanks for making use of it, which it will only make dmd an even better complier! It's really very exciting to see how much closer we are now to having a D v1.0 compiler, as we watch the bug counts drop. :) Kudos!! David L. ------------------------------------------------------------------- "Dare to reach for the Stars...Dare to Dream, Build, and Achieve!" ------------------------------------------------------------------- MKoD: http://spottedtiger.tripod.com/D_Language/D_Main_XP.html
Apr 23 2005