Skip to content

Remove -Wc++-compat option when building Mono as C++#20780

Merged
akoeplinger merged 1 commit intomono:masterfrom
akoeplinger:fix-cpp-build
Jan 25, 2021
Merged

Remove -Wc++-compat option when building Mono as C++#20780
akoeplinger merged 1 commit intomono:masterfrom
akoeplinger:fix-cpp-build

Conversation

@akoeplinger
Copy link
Member

@akoeplinger akoeplinger commented Jan 23, 2021

It causes a build warning on some newer compilers:

cc1plus: warning: command line option '-Wc++-compat' is valid for C/ObjC but not for C++

It causes a build warning otherwise which fails the build:

```
cc1plus: warning: command line option '-Wc++-compat' is valid for C/ObjC but not for C++
```
@akoeplinger akoeplinger merged commit 5f7bc4b into mono:master Jan 25, 2021
@akoeplinger akoeplinger deleted the fix-cpp-build branch January 25, 2021 14:30
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 this pull request may close these issues.

2 participants