www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Build utf.d with MS-COFF failed

reply Pierre <cathary.pierre neuf.fr> writes:
Hello, I can't build my project with MS-COFF option.

I'm using DMD 2.069.

I got this error :
utf.d(1109) : invalid UTF-8 sequence (at index 1)

I used these options with visual D:
Compiler       : DMD
D-Version      : D2
Output Type    : DLL
Subsystem      : Not set

Compilation    : Combined compile and link

Thank you for your help.
Nov 20 2015
parent reply Charles <csmith.ku2013 gmail.com> writes:
On Friday, 20 November 2015 at 21:27:12 UTC, Pierre wrote:
 Hello, I can't build my project with MS-COFF option.

 I'm using DMD 2.069.

 I got this error :
 utf.d(1109) : invalid UTF-8 sequence (at index 1)

 I used these options with visual D:
 Compiler       : DMD
 D-Version      : D2
 Output Type    : DLL
 Subsystem      : Not set

 Compilation    : Combined compile and link

 Thank you for your help.
What string is throwing the error? I've had that error when I was trying to decode windows1252 strings.
Nov 20 2015
parent Pierre <cathary.pierre neuf.fr> writes:
On Saturday, 21 November 2015 at 01:18:38 UTC, Charles wrote:
 What string is throwing the error? I've had that error when I 
 was trying to decode windows1252 strings.
Thank you for your answer, but it's not a compilation error, it's a message box displayed when i lauch compilation. I asked some support on IRC and now i don't need to use MS-COFF option so there is no more error for me. I think this is a bug in DMD but i'm not sure.
Nov 21 2015