Combine C and C++ files #22137
Closed
andreamancuso
started this conversation in
General
Replies: 1 comment
-
The problem is the line The correct way to set the C++ standard is to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Does anyone have examples of CMakeLists.txt files referencing both C and C++ files? I'm trying to add https://github.com/maplibre/maplibre-native as a dependency to my project and I got stuck with https://bitbucket.org/alekseyt/nunicode which is a C99 compliant library.
Specifically, I am getting:
error: invalid argument '-std=c++23' not allowed with 'C'
Here's the code: https://github.com/andreamancuso/react-wasm/pull/37/files#diff-819e708b98ec981f4fc20bf8190a71977859972c788459cf8b408f998f944aaa
Any help/guidance with this would be much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions