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

cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ #712

Closed
sebastinas opened this issue Aug 18, 2019 · 4 comments · Fixed by #714

Comments

@sebastinas
Copy link
Contributor

Since GCC 9, the compiler emits the following warning:

cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++

The flags only makes sense for C code. Please remove it for the C++ bits and pieces.

@XinfengZhang
Copy link
Contributor

@yanqings @hanlong1 , could you help on it?

@rossburton
Copy link

Specifically, GCC 9.2 changed behaviour here.

@LocutusOfBorg
Copy link

LocutusOfBorg commented Aug 21, 2019

@XinfengZhang
Copy link
Contributor

thanks @LocutusOfBorg , will refer the patch

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.

4 participants