jarro2783 / cxxopts

Lightweight C++ command line option parser
MIT License
4.16k stars 582 forks source link

Compilation problem on Mac OS 14.4 #435

Closed VictorEijkhout closed 1 month ago

VictorEijkhout commented 2 months ago
In file included from /Users/eijkhout/Installation/cxxopts/cxxopts-3.2.0/test/catch.hpp:72,
                 from /Users/eijkhout/Installation/cxxopts/cxxopts-3.2.0/test/main.cpp:2:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/TargetConditionals.h:140:50: error: missing binary operator before token "("
  140 | #if !defined(__has_extension) || !__has_extension(define_target_os_macros)
      |                                                  ^

I'm seeing more tickets about this problem:

https://github.com/catchorg/Catch2/issues/2837

https://github.com/libsdl-org/SDL/pull/9832

jarro2783 commented 2 months ago

I'll see if I can update catch to fix this.