digitalmars.D.bugs - DMD output non readable characters
- Shawn Liu (19/19) Dec 31 2005 see the attached file test.d
- Thomas Kuehne (10/29) Jan 01 2006 -----BEGIN PGP SIGNED MESSAGE-----
- Shawn Liu (5/7) Jan 01 2006 WinXP pro, Chinese version, both DMD 0.141, 0.142.
- Thomas Kuehne (12/22) Jan 05 2006 -----BEGIN PGP SIGNED MESSAGE-----
- Walter Bright (5/12) Jan 03 2006 That's because Image is declared as an array, and the code is trying to
- Oskar Linde (4/21) Jan 03 2006 I think he is complaining about the junk characters after the string
- Shawn Liu (6/8) Jan 03 2006 Yes.
see the attached file test.d dmd test.d dmd test.d > redirect.txt test.d(21): cannot implicitly convert expression ("progress_rem") of type char[12] to int test.d(22): cannot implicitly convert expression ("redo"2]?) of type char[4] to int begin 666 test.d M[[N_;6]D=6QE('!A:6YT<VAO<#L- M<R!297-O=7)C94UA;F%G97(-"GL-" E);6%G92!G971);6%G92AC:&%R6UT M;F%M92D >R!R971U<FX ;G5L;#L M"FEM<&]R="!S=&0N9FEL93L-"FEM<&]R="!S=&0N<&%T:#L-" T*<W1A=&EC M"GL-" T*"6EM86=E<ULB<')O9W)E<W-?<F5M(ET "3T 4F5S;W5R8V5-86YA M9V5R+F=E=$EM86=E*")P<F]G<F5S<U]R96TN9VEF(BD["2\O(&1E;&5T95]O ` end
Dec 31 2005
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Shawn Liu schrieb am 2005-12-31:see the attached file test.d dmd test.d dmd test.d > redirect.txt test.d(21): cannot implicitly convert expression ("progress_rem") of type char[12] to int test.d(22): cannot implicitly convert expression ("redo"2]?) of type char[4] to int begin 666 test.d M[[N_;6]D=6QE('!A:6YT<VAO<#L- M<R!297-O=7)C94UA;F%G97(-"GL-" E);6%G92!G971);6%G92AC:&%R6UT M;F%M92D >R!R971U<FX ;G5L;#L M"FEM<&]R="!S=&0N9FEL93L-"FEM<&]R="!S=&0N<&%T:#L-" T*<W1A=&EC M"GL-" T*"6EM86=E<ULB<')O9W)E<W-?<F5M(ET "3T 4F5S;W5R8V5-86YA M9V5R+F=E=$EM86=E*")P<F]G<F5S<U]R96TN9VEF(BD["2\O(&1E;&5T95]O ` endI'cant reproduce this. What OS, shell and compiler version were you using? Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFDuFZw3w+/yD4P9tIRAqWEAKC+jfKng59EPRvBfBa1K+9jp7KRGgCfWcbw OhgpMzZANTe0gdS0Szkfz6I= =MZCW -----END PGP SIGNATURE-----
Jan 01 2006
"Thomas Kuehne" <thomas-dloop kuehne.cn> says:gc1m83-vgk.ln1 birke.kuehne.cn...I'cant reproduce this. What OS, shell and compiler version were you using? ThomasWinXP pro, Chinese version, both DMD 0.141, 0.142. dmd test.d > redirect.txt redirect.txt contains 0x01,0x03 when viewed by UltraEdit in Hex mode.
Jan 01 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Shawn Liu schrieb am 2006-01-01:"Thomas Kuehne" <thomas-dloop kuehne.cn> says:gc1m83-vgk.ln1 birke.kuehne.cn...This bug is Windows spezific. I'll have to dig a bit into the Windows "shell" to see if there is a reliable way to detect this. (Why are codepages still the default in a "modern" OS ...) Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFDvPwN3w+/yD4P9tIRAp3IAJ9TqL2JVUPBOBZIk9ClvKJJlmAzBACcC+Pz YsS6Yk25nCVuBtTVu+vtSS0= =5j1u -----END PGP SIGNATURE-----I'cant reproduce this. What OS, shell and compiler version were you using? ThomasWinXP pro, Chinese version, both DMD 0.141, 0.142. dmd test.d > redirect.txt redirect.txt contains 0x01,0x03 when viewed by UltraEdit in Hex mode.
Jan 05 2006
"Shawn Liu" <shawn666.liu gmail.com> wrote in message news:dp5pbc$11a9$1 digitaldaemon.com...see the attached file test.d dmd test.d dmd test.d > redirect.txt test.d(21): cannot implicitly convert expression ("progress_rem") of type char[12] to int test.d(22): cannot implicitly convert expression ("redo"2]?) of type char[4] to intThat's because Image is declared as an array, and the code is trying to index the array with a string. Did you mean for Image to be an associative array?
Jan 03 2006
Walter Bright wrote:"Shawn Liu" <shawn666.liu gmail.com> wrote in message news:dp5pbc$11a9$1 digitaldaemon.com...I think he is complaining about the junk characters after the string "redo" in the compiler error message. /Oskarsee the attached file test.d dmd test.d dmd test.d > redirect.txt test.d(21): cannot implicitly convert expression ("progress_rem") of type char[12] to int test.d(22): cannot implicitly convert expression ("redo"2]?) of type char[4] to intThat's because Image is declared as an array, and the code is trying to index the array with a string. Did you mean for Image to be an associative array?
Jan 03 2006
"Oskar Linde" <oskar.lindeREM OVEgmail.com> says:dpdl7g$2vsu$1 digitaldaemon.com...I think he is complaining about the junk characters after the string "redo" in the compiler error message.Yes. When I call std.utf.toUTF16() with the output error line, An exception raised and cause app collapse. Because the output error line contains non-UTF8 characters.
Jan 03 2006