[BUG] MSVC fails to include "arm_neon.h"
See original GitHub issueUse:
#include <arm_neon.h>
Select ARM64 msvc v19.14 WINE
and the compiler fails with this message:
/opt/compiler-explorer/windows/19.14.26423/include/arm_neon.h(17): fatal error C1189: #error: This header is specific to ARM targets
Internal Compiler Error in Z:\opt\compiler-explorer\windows\19.14.26423\bin\Hostx64\arm64\cl.exe. You will be prompted to send an error report to Microsoft later.
INTERNAL COMPILER ERROR in 'Z:\opt\compiler-explorer\windows\19.14.26423\bin\Hostx64\arm64\cl.exe'
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
It seems the compiler is too old and broken and needs updating.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
arm_neon.h doens't support ARM64 compiler
When compiling this on ARM64 compiler, the following error occurs. C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\1 4.12.25827\ ...
Read more >Why is it not working to include arm_neon.h in a ARM64EC ...
Inside a ARM64EC project, including <arm_neon.h> with Visual Studio 2022 will result in a compilation error: In arm_neon.h:21 Error: This ...
Read more >1428 – Eigen 3.3.3 does not compile on Windows with ...
All entries have been migrated to https://gitlab.com/libeigen/eigen ... And float32x4_t and int32x4_t are defined (in MSVC's arm_neon.h) as: ...
Read more >gcc - Some certain neon instruction in <arm_neon.h> is not ...
I've tried the code on M1, A53, and A72 and it all works fine. However, Jetson Xavier gives the following warnings and errors:...
Read more >Issue 539 in webp: ARM64 NEON support for MSVC
It seems Visual Studio 2019 started including a check in arm_neon.h [1] rather ... #include <arm64_neon.h> ... #error This header is specific to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
There you go: https://godbolt.org/z/aGzv8M I clearly have stated: Select
ARM64 msvc v19.14 WINE
😃Seems to be working with the latest arm msvc compilers. No need for defines also.