Re: LDC 1.31.0

2023-02-19 Thread zoujiaqing via Digitalmars-d-announce
On Saturday, 11 February 2023 at 13:47:54 UTC, kinke wrote: Glad to announce LDC 1.31.0. Major changes: * Based on D 2.101.2. * ImportC: The C preprocessor isn't invoked yet. * mac/iOS arm64: Linking with `-g` is working again without unaligned pointer warnings/errors. * *Preliminary*

Blog post on figuring out attribute inference failure

2023-02-19 Thread Steven Schveighoffer via Digitalmars-d-announce
Ever faced with an attribute inference fail, and you don't know what caused it? I have honed some techniques to try and figure it out. Just posted this: https://www.schveiguy.com/blog/2023/02/spelunking-attribute-inference-in-d/ Hopefully it helps. -Steve