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

-std=gnu++11 c++ flags leaks into users's c and C++ compiler flags #126

Closed
mean-ui-thread opened this issue Sep 16, 2018 · 1 comment · Fixed by #127
Closed

-std=gnu++11 c++ flags leaks into users's c and C++ compiler flags #126

mean-ui-thread opened this issue Sep 16, 2018 · 1 comment · Fixed by #127

Comments

@mean-ui-thread
Copy link
Contributor

mean-ui-thread commented Sep 16, 2018

It generates this warning on linux gcc when compiling a c file from a mixed C and C++ project:

cc1: warning: command line option ‘-std=gnu++11’ is valid for C++/ObjC++ but not for C

This public/leaking flag can also potentially interfere with C++14 and C++17 users

@mean-ui-thread mean-ui-thread changed the title -std=gnu++11 c++ flags leaks into users's c compiler flags -std=gnu++11 c++ flags leaks into users's c and C++ compiler flags Sep 16, 2018
mean-ui-thread added a commit to mean-ui-thread/easy_profiler that referenced this issue Sep 16, 2018
@yse
Copy link
Owner

yse commented Sep 18, 2018

I think it's relating to #71

mean-ui-thread added a commit to mean-ui-thread/easy_profiler that referenced this issue Sep 23, 2018
@yse yse closed this as completed in #127 Oct 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants