ElectronVector / fake_function_framework

A plug-in for Ceedling to use the Fake Function Framework (fff) for mocking instead of Cmock.
MIT License
36 stars 13 forks source link

Compiling mocks with C++ => "error: conflicting declaration" #6

Open pJunger opened 7 years ago

pJunger commented 7 years ago

Using the fff plugin with a C++ compiler leads to "conflicting declaration" errors, because fff itself opens 'extern "C"' blocks around the declarations and the generated mock files do not.

EighthMayer commented 2 years ago

Hello! I know it's been a while, but maybe you could provide more context for this issue and for your Cpp-related pull requests (#7 and #8)?

AFAIK this plugin is intended for Ceedling project, which uses Unity test framework, which is intended for C language. So I'm quite bamboozled about what happened here and what can I do about this.