ARTICLE AD BOX
I have the source code at https://github.com/teddych/railcontrol/tree/Test-MacOS-CI. When compiling this on MacOS I get (beside others) the following error:
In file included from ArgumentHandler.cpp:21: In file included from /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/deque:180: In file included from /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/copy.h:12: In file included from /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/copy_move_common.h:12: In file included from /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/iterator_operations.h:12: In file included from /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/iter_swap.h:14: In file included from /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/swap.h:21: In file included from /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstddef:37: ./version:1:1: error: unknown type name '$Format' 1 | $Format:%(describe:tags=true,abbrev=0)$ | ^ ./version:1:8: error: expected unqualified-id 1 | $Format:%(describe:tags=true,abbrev=0)$ | ^I get this error only on MacOS, but not on Ubuntu or Windows/cygwin. I don't have an idea where to continue with the investigation. Btw, it also compiles on Windows/cygwin with clang.
Complete result is on https://github.com/teddych/railcontrol/actions/runs/20883155858/job/60002463552
