<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64709>64709</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
LLVM17: Missing release note
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
JVApen
</td>
</tr>
</table>
<pre>
When testing LLVM17-RC2, I got the following warning on an external library (compiled using clang-cl with c++17):
````
error: 'dllimport' attribute only applies to functions, variables, classes, and Objective-C interfaces [-Werror,-Wignored-attributes]
````
The code:
````
#define EXPORT_OPENTELEMETRYLIB __declspec(dllimport)
using MeterDeleter = EXPORT_OPENTELEMETRYLIB void (*)(IMeter* ptr);
````
Reading through the release notes (https://github.com/llvm/llvm-project/blob/release/17.x/clang/docs/ReleaseNotes.rst), I don't see any mention of changes to this warning becoming more strict. It does mention:
- > __declspec attributes can now be used together with the using keyword. Before the attributes on __declspec was ignored, while now it will be forwarded to the point where the alias is used.
- Seems to imply this is allowed at more places instead of less
- > Fixed a bug where attribute annotations on type specifiers (enums, classes, structs, unions, and scoped enums) were not properly ignored, resulting in misleading warning messages. Now, such attribute annotations are correctly ignored. (https://github.com/llvm/llvm-project/issues/61660)
- Linked to the same working, though also seems to imply it is reported less instead of more
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykVc1u4zYQfhr6MrAhUf49-GAnFpAi2V2kwW57CihyJLGhSIEcRfHbF6SS2CiQHlrAsGSLmm_m-yFFCLqxiHu2OrLV7UwM1Dq__-3noUc7q5w673-1aIEwkLYN3N__fMg388cbzvgN3EHjCKhFqJ0xbowrRuFtvDoLwgK-EXorDBhdeeHPwPhWuq7XBhUMIS6URthmLg2MmlqQjB8ZP-YbxnesOLDslmUHts4un_QPeu88Kw7A-EYZo7veeWJ8A4LI62ogBGfNGUTfG40ByEE9WEna2RA7fxVei8pg-iGNCGG6FVbB9-ovlKRf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