D2 port of Sociomantic CDGC available for early experiments

Rainer Schuetze via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Fri Oct 10 00:57:52 PDT 2014



On 09.10.2014 21:46, Jacob Carlborg wrote:
> On 2014-10-09 20:33, Rainer Schuetze wrote:
>
>> This is a gcc extension, which isn't supported under Windows by dmd.
>
> It seems to be possible in Visual Studio [1], but that still leaves OMF.
>
> [1]
> http://stackoverflow.com/questions/1113409/attribute-constructor-equivalent-in-vc
>
>

Interesting. That would also be possible in D with the proposed 
pragma(data_seg). It still relies on the C++ startup code of the 
runtime, but dmc also has that (even for the VC++ section AFAICT).


More information about the Digitalmars-d-announce mailing list