www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - target trouble with -w

reply Bruce Carneal <bcarneal gmail.com> writes:
I'm getting an apparently spurious warning, "ignoring 
unrecognized special parameter attribute ..." from ldc2 when 
passed the -w flag and using the  target attribute.  Here's an 
example:

https://godbolt.org/z/vx6naWxYr

Code is generated correctly AFAICT when the -w flag is removed.
Apr 08
parent reply Johan <j j.nl> writes:
On Wednesday, 9 April 2025 at 02:26:18 UTC, Bruce Carneal wrote:
 I'm getting an apparently spurious warning, "ignoring 
 unrecognized special parameter attribute ..." from ldc2 when 
 passed the -w flag and using the  target attribute.  Here's an 
 example:

 https://godbolt.org/z/vx6naWxYr

 Code is generated correctly AFAICT when the -w flag is removed.
Hi Bruce, Please report it on github, thanks! Johan
Apr 13
parent Bruce Carneal <bcarneal gmail.com> writes:
On Sunday, 13 April 2025 at 18:31:31 UTC, Johan wrote:
 On Wednesday, 9 April 2025 at 02:26:18 UTC, Bruce Carneal wrote:
 I'm getting an apparently spurious warning, "ignoring 
 unrecognized special parameter attribute ..." from ldc2 when 
 passed the -w flag and using the  target attribute.  Here's an 
 example:

 https://godbolt.org/z/vx6naWxYr

 Code is generated correctly AFAICT when the -w flag is removed.
Hi Bruce, Please report it on github, thanks! Johan
I resurrected my, forgotten, GitHub account and filed it. Thanks again Johan for the work you do on LDC. Bruce
Apr 13