Warning, C++ compiler Arm architecture #10044
danielbuubble
started this conversation in
General
Replies: 1 comment 5 replies
-
"default member initializer for non-static data member is a C++11 extension" is a clang or gcc warning, not from our extension. It sounds like you need to compile with -std=c++11 or higher (e.g. c++17, c++20). I think "Warning: Debuggee TargetArchitecture not detected, assuming x86_64" can be ignored. Why are these warnings blocking you? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I am taking a course at my university and I am pretty new to C++. I have been stuck on this "bug" where, whenever I press the play button to compile and run the file, I get this warning "default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]". And when I look at the debug console I get this message "Warning: Debuggee TargetArchitecture not detected, assuming x86_64.". From my limited knowledge, it looks like vscode assumes I am using arch x86, but I have a M2 arch Arm. My question is do you guys have any fix to my problem? Because I can run the code using commands in the terminal, but I would like the play button to work (Invested to much time in this to give up on the play button). I have looked all over the internett, but the solutions are way over my knowledge, and to advanced for me, I think.

Thank you for your help, and sorry for my limited knowledge and mispokenes. :D
Beta Was this translation helpful? Give feedback.
All reactions