August 17, 2014
On 8/17/14, 6:01 AM, bearophile wrote:
> ketmar:
>
>> are you sure that you have latest git then? yes, i know that this is
>> very silly question, but sometimes... ;-)
>
> OK, -m32mscoff works (probably I was using a wrongly written switch)

schwartzSort comes to mind -- Andrei

August 17, 2014
On 8/17/14, 7:58 AM, Andrei Alexandrescu wrote:
> On 8/17/14, 6:01 AM, bearophile wrote:
>> ketmar:
>>
>>> are you sure that you have latest git then? yes, i know that this is
>>> very silly question, but sometimes... ;-)
>>
>> OK, -m32mscoff works (probably I was using a wrongly written switch)
>
> schwartzSort comes to mind -- Andrei

forgot the smiley :o) -- Andrei

August 17, 2014
Andrei Alexandrescu:

>> schwartzSort comes to mind -- Andrei
>
> forgot the smiley :o) -- Andrei

Yeah that's an infamous example. Standard libraries should avoid too much hard to write identifiers.

Bye,
bearophile
August 17, 2014
On 8/17/2014 5:57 AM, Jacob Carlborg wrote:
> I though that this might be important enough to share on the announce list:
>
> A pull request [1] by Rainer Schuetze which adds COFF support for Win32
> has recently been merged by Walter. It seems to be enabled using the
> -m32mscoff flag.
>
> [1] https://github.com/D-Programming-Language/dmd/pull/3843
>

Wow! This is MAJOR! o_O

August 17, 2014
On 8/17/2014 2:57 AM, Jacob Carlborg wrote:
> I though that this might be important enough to share on the announce list:
>
> A pull request [1] by Rainer Schuetze which adds COFF support for Win32 has
> recently been merged by Walter. It seems to be enabled using the -m32mscoff flag.
>
> [1] https://github.com/D-Programming-Language/dmd/pull/3843
>

Yes, it did turn out to be a much less intrusive change than I anticipated, and Rainer's work also included some sensible refactoring which was valuable in and of itself.
August 17, 2014
On 8/17/2014 6:11 AM, ketmar via Digitalmars-d-announce wrote:
> maybe this is due to mscoff support still considering 'experimental'?


It certainly is, as there is no druntime support for it, it is not tested by the autotester, etc.
August 17, 2014
On 8/17/14, 11:39 AM, Nick Sabalausky wrote:
> On 8/17/2014 5:57 AM, Jacob Carlborg wrote:
>> I though that this might be important enough to share on the announce
>> list:
>>
>> A pull request [1] by Rainer Schuetze which adds COFF support for Win32
>> has recently been merged by Walter. It seems to be enabled using the
>> -m32mscoff flag.
>>
>> [1] https://github.com/D-Programming-Language/dmd/pull/3843
>>
>
> Wow! This is MAJOR! o_O

Indeed! Does this enable VS debugging of D programs? Also, what's the deal on Win64? -- Andrei


August 17, 2014
On Sunday, 17 August 2014 at 22:25:55 UTC, Andrei Alexandrescu wrote:
> Indeed! Does this enable VS debugging of D programs?

This enables using the MS C runtime for Win32 programs, but you could already use VS for debugging thanks to cv2pdb (also written by Rainer!). Though, now that the debug information is not channeled through the CodeView format, it might be more accurate.

> Also, what's the deal on Win64? -- Andrei

Win64 is COFF-only because OPTLINK is 32-bit-only, so PDB was DMD's only Win64 debugging format (not that that's a bad thing).
August 18, 2014
On 17 August 2014 19:57, Jacob Carlborg via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote:

> I though that this might be important enough to share on the announce list:
>
> A pull request [1] by Rainer Schuetze which adds COFF support for Win32 has recently been merged by Walter. It seems to be enabled using the -m32mscoff flag.
>
> [1] https://github.com/D-Programming-Language/dmd/pull/3843
>
> --
> /Jacob Carlborg
>

OMG, it happened! This is a glorious day! :)


August 19, 2014
On 8/17/2014 5:57 AM, Jacob Carlborg wrote:
> I though that this might be important enough to share on the announce list:
>
> A pull request [1] by Rainer Schuetze which adds COFF support for Win32
> has recently been merged by Walter. It seems to be enabled using the
> -m32mscoff flag.
>
> [1] https://github.com/D-Programming-Language/dmd/pull/3843
>

Heh, couldn't have come at a better time. I *just* hit this little nugget of fun:

Error 45: Too Much DEBUG Data for Old CodeView format