Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to pass flags: -std=c++11 #311

Open
mw66 opened this issue May 30, 2022 · 1 comment
Open

how to pass flags: -std=c++11 #311

mw66 opened this issue May 30, 2022 · 1 comment
Labels

Comments

@mw66
Copy link

mw66 commented May 30, 2022

Got this error:

/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/c++0x_warning.h:32:2: error: This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

Just wonder how to pass flags to d++?

@atilaneves
Copy link
Owner

Pass any C++ compiler flags directly to d++. It ignores flags it doesn't recognise and passes them on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants