marzer / tomlplusplus

Header-only TOML config file parser and serializer for C++17.
https://marzer.github.io/tomlplusplus/
MIT License
1.58k stars 152 forks source link

AppleClang: error: unknown warning group '-Wreserved-identifier' #147

Closed chronoxor closed 2 years ago

chronoxor commented 2 years ago
-- The C compiler identification is AppleClang 13.0.0.1300002[9](https://github.com/chronoxor/PrimeTrader/runs/5534087709?check_suite_focus=true#step:6:9)
-- The CXX compiler identification is AppleClang [13](https://github.com/chronoxor/PrimeTrader/runs/5534087709?check_suite_focus=true#step:6:13).0.0.13000029
-- Check for working C compiler: /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Check for working CXX compiler: /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped

/Users/runner/work/PrimeTrader/PrimeTrader/modules/tomlplusplus/include/toml++/toml.h:32:34: error: unknown warning group '-Wreserved-identifier', ignored [-Werror,-Wunknown-warning-option]
#pragma clang diagnostic ignored "-Wreserved-identifier"
                                 ^
marzer commented 2 years ago

Thanks for the report + fix!