Thread overview
Build utf.d with MS-COFF failed
Nov 20, 2015
Pierre
Nov 21, 2015
Charles
Nov 21, 2015
Pierre
November 20, 2015
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.
November 21, 2015
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.
November 21, 2015
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.