On Fri, 16 Jan 2026, Kirill Makurin wrote:

I see, so we should avoid adding _CRTIMP for functions which are also declared in intrin.h. I'll keep that in mind.

IMO this is also a question which depends on what you prioritize - and I'm not sure if we have a common policy for that.

Prioritizing likeness to MSVC/WinSDK is one potential priority.

Another is pragmatism: If a function is most commonly (or, always) provided by us, then calling it without dllimport is more efficient code, and may avoid needing to provide the __imp_ pointer for the function altogether.

// Martin



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to