On 8/23/17 11:56 AM, Walter Bright wrote:
On 8/23/2017 7:10 AM, Steven Schveighoffer wrote:
Nope.

A ModuleInfo is generated, as well as FMB/FM/FME sections. Those sections may not work with the C runtime.

My point was simply that your small example doesn't cause any runtime or link time errors. You need something more complicated to require betterC.

Not sure if ModuleInfo is generated. IIRC, Martin made it so it's not if no usage of the ModuleInfo is apparent.

Yes, adding a struct causes link errors, but not because of ModuleInfo, it's because of the expected TypeInfo.

-Steve
  • D as a Better C Mike Parker via Digitalmars-d-announce
    • Re: D as a Better C Moritz Maxeiner via Digitalmars-d-announce
      • Re: D as a Better... Walter Bright via Digitalmars-d-announce
        • Re: D as a Be... Steven Schveighoffer via Digitalmars-d-announce
          • Re: D as ... Walter Bright via Digitalmars-d-announce
            • Re: ... SrMordred via Digitalmars-d-announce
              • ... via Digitalmars-d-announce
              • ... sarn via Digitalmars-d-announce
                • ... Kagamin via Digitalmars-d-announce
          • Re: D as ... Walter Bright via Digitalmars-d-announce
            • Re: ... Steven Schveighoffer via Digitalmars-d-announce
        • Re: D as a Be... Moritz Maxeiner via Digitalmars-d-announce
        • Re: D as a Be... Kagamin via Digitalmars-d-announce
          • Re: D as ... Walter Bright via Digitalmars-d-announce
          • Re: D as ... Parke via Digitalmars-d-announce
          • Re: D as ... Kagamin via Digitalmars-d-announce
            • Re: ... Suliman via Digitalmars-d-announce
              • ... Basile B. via Digitalmars-d-announce
                • ... Basile B. via Digitalmars-d-announce
            • Re: ... Swoorup Joshi via Digitalmars-d-announce
              • ... Jolly James via Digitalmars-d-announce

Reply via email to