Open dschulze42 opened 1 year ago
I've tried with clang 14.0.6 and gcc 12.2.0 on Linux and the examples work. The library isn't tested with mingw, maybe it's not compatible with it. I don't have a mingw setup right now so I can't really test, but I'll try to when I can.
Wondering if it might be related to either of these window problems (mingw is a gcc on windows)
https://github.com/eranpeer/FakeIt/issues/279 https://github.com/eranpeer/FakeIt/issues/212
That's exactly the example from the quickstart document. When compiled with mingw gcc (v.10.2.0) the output is
Shouldn't the func2 call output 1?
When compiled with mingw clang (v.10.0.0) the output is
So the executable crashes. It seem to crash in
class RecordedMethodBody::handleMethodInvocation
but I don't get a usable exeption/error message and am not good enough at C++ to fully understand what the problem could be.We are using fakeit v2.3.2