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

Building test with g++ fails #45

Open
brendan-simon-indt opened this issue Sep 13, 2024 · 0 comments
Open

Building test with g++ fails #45

brendan-simon-indt opened this issue Sep 13, 2024 · 0 comments

Comments

@brendan-simon-indt
Copy link

I'm trying to compile this, to use with Catch2 C++ unit test framework.

I'm getting errors with typedefs of structs with the same name. I got someway to resolving those by adding _t to the typedef names and changing code where used.

Is Mimick designed to be used with C++?
Note the source code I'm testing is written in C, but the test framework is C++

The head of my meson.build file has the following (for reference).

project('foo-test', 'cpp', 'c',
  version : '0.1',
  default_options : ['warning_level=3', 'cpp_std=c++17', 'c_std=c17']
  # default_options : ['warning_level=everything', 'cpp_std=c++17', 'c_std=c17']
  )
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

No branches or pull requests

1 participant