Closed helmesjo closed 1 year ago
Could you provide the code that you are trying to compile that causes the issue? And which version of FakeIt did you use?
Ok I reproduced the issue on the tests, just a missing "const" in the parameter of the copy constructor of MethodProgress
, it's only an error since C++23 because it seems that now parameter of return statements are considered xvalue and not lvalue, or something like that.
Anyway, it will be fixed in the next release, thanks.
Should be fixed by #303, the fix will be available in FakeIt 2.4.0.
Great, thanks! Any ETA?
FakeIt 2.4.0 won't be released this year, an optimistic schedule would be first quarter of 2023 but I can't guarantee anything.
After thinking a bit more about it I think that this fix may deserve to be released earlier, in an hotfix (2.3.2). Because not being able to use the library with C++23 is pretty big, we're pretty close to the standardisation of the new version of the language. So I'll probably release an hotfix next week.
A hotfix would be swell, thanks!
I released FakeIt 2.3.2 which contains the fix.
Hi! Just tried to compile using Clang 14.0.6 and it spewed some errors at me, so figured I'd share. Built with latest C++ standard flag.