Closed LtdSauce closed 2 years ago
Thanks for reporting this.
We were able to reproduce the problem with this:
https://godbolt.org/z/EGbx1zM3P
And have a proposed fix.
We're hoping to release this on Friday.
Thank you for your fast response and fix!
Hi,
we build our software with Ubuntu Impish (21.10) and the default clang Compiler in that release (clang13). Recently we added ApprovalTests.cpp as a dependency and found out, that it does not compile because of one warning turned into an error. We included it with cmakes FetchContent module.
Steps to reproduce
On Ubuntu Impish run the following:
Produces the following output:
Clang version for the record:
Workaround
We were able to build by manually disabling
-Wno-error
by puttingtarget_compile_options(ApprovalTests PRIVATE -Wno-error)
after fetching it.