Skip to content

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

@Benichou34

Description

@Benichou34

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

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions