Hello World causes ICE with ARM CL 2017 RTW
See original GitHub issue#include <iostream>
int main() {
std::cout << "Hello, World";
}
example.cpp
/opt/compiler-explorer/windows/10.0.10240.0/ucrt/corecrt.h(205): fatal error C1189: #error: Compiling Desktop applications for the ARM platform is not supported.
Internal Compiler Error in Z:\opt\compiler-explorer\windows\19.10.25017\lib\native\bin\amd64_arm\cl.exe. You will be prompted to send an error report to Microsoft later.
INTERNAL COMPILER ERROR in 'Z:\opt\compiler-explorer\windows\19.10.25017\lib\native\bin\amd64_arm\cl.exe'
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25017 for ARM
Copyright (C) Microsoft Corporation. All rights reserved.
Compiler exited with result code 2
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Hello World causes ICE with ARM CL 2017 RTW · Issue #338 ...
Interesting. We don't support desktop applications on ARM32 so this could very well be intentional. It's not a great user experience to ICE,...
Read more >Developers - Hello World causes ICE with ARM CL 2017 RTW -
Coming soon: A brand new website interface for an even better experience!
Read more >Failed to debug hello world project on Cortex-A76
I'm trying to debug a hello-world C project following the tutorial developer.arm.com/.../Tutorial--Hello-World on FVP Cortex-A76. The program ...
Read more >Guidelines for concussion/mild traumatic brain injury and ...
The recommendations and resources found within the Guideline for Concussion/. mTBI & Prolonged Symptoms are intended to inform and instruct care ...
Read more >Tkj - River Thames Conditions - Environment Agency - GOV.UK
Waiting for 22 queensryche lyrics, Deltagen tutorial, Harmonics flooring camden ... Geffrye museum linkedin, Kill body odor causing bacteria, School and the ...
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 FreeTop 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
Top GitHub Comments
I ran into the same problem. Simply including:
or any standard header is enough to trigger the compilation error.
After digging a bit, passing the following option does the job:
To compile for arm you’d need
-DWINAPI_FAMILY=WINAPI_FAMILY_APP
, but then you get'winapifamily.h': No such file or directory
which should be present.