I wasn't able to figure out why this build failure happened in the StarterProject and not this one, but it was definitely a real problem in that we were depending on _WIN32 being set by Cygwin CMake builds, and that was not always the case.
I've relaxed that static_assert check on __FILE__, because some Cygwin builds use unix-style filenames, and some used Windows-style filenames.
For details, see https://github.com/approvals/ApprovalTests.cpp.StarterProject/issues/10
I wasn't able to figure out why this build failure happened in the StarterProject and not this one, but it was definitely a real problem in that we were depending on
_WIN32
being set by Cygwin CMake builds, and that was not always the case.I've relaxed that static_assert check on
__FILE__
, because some Cygwin builds use unix-style filenames, and some used Windows-style filenames.