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

Build: C++ compiler warning '-Wold-style-definition' #16239

Closed
Benichou34 opened this issue May 17, 2019 · 0 comments · Fixed by #21398
Closed

Build: C++ compiler warning '-Wold-style-definition' #16239

Benichou34 opened this issue May 17, 2019 · 0 comments · Fixed by #21398
Assignees
Labels
area: Build System area: C++ bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug

Comments

@Benichou34
Copy link
Contributor

Benichou34 commented May 17, 2019

Describe the bug
Build with C++ files displays the following warning message:
cc1plus.exe: warning: command line option '-Wold-style-definition' is valid for C/ObjC but not for C++

To Reproduce
Build any projet with cpp files and compilation warnings to level 1.

Environment :
OS: Windows 10 x64
Toolchain: GNU ARM toolchain 8-2018-q4-major
Ninja 1.9.0.20190208
CMake 3.14.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Build System area: C++ bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants