Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang 10.0: error: unknown warning group '-Wsuggest-destructor-override' #145

Closed
chronoxor opened this issue Mar 14, 2022 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@chronoxor
Copy link
Contributor

-- The C compiler identification is Clang [10](https://github.com/chronoxor/PrimeTrader/runs/5533378667?check_suite_focus=true#step:7:10).0.0
-- The CXX compiler identification is Clang 10.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/c++ - skipped

/home/runner/work/PrimeTrader/PrimeTrader/modules/tomlplusplus/include/toml++/toml.h:16:1: error: unknown warning group '-Wsuggest-destructor-override', ignored [-Werror,-Wunknown-warning-option]
TOML_DISABLE_SPAM_WARNINGS;
^
/home/runner/work/PrimeTrader/PrimeTrader/modules/tomlplusplus/include/toml++/impl/preprocessor.h:85:3: note: expanded from macro 'TOML_DISABLE_SPAM_WARNINGS'
                TOML_DISABLE_SPAM_WARNINGS_CLANG_10; \
                ^
/home/runner/work/PrimeTrader/PrimeTrader/modules/tomlplusplus/include/toml++/impl/preprocessor.h:78:4: note: expanded from macro 'TOML_DISABLE_SPAM_WARNINGS_CLANG_10'
                        _Pragma("clang diagnostic ignored \"-Wsuggest-destructor-override\"") \
                        ^
<scratch space>:633:27: note: expanded from here
 clang diagnostic ignored "-Wsuggest-destructor-override"
                          ^
@chronoxor chronoxor added the bug Something isn't working label Mar 14, 2022
marzer pushed a commit that referenced this issue Mar 14, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
…de' #145 (#146)

Co-authored-by: Ivan Shynkarenka <Ivan_Shynkarenka@epam.com>
@marzer
Copy link
Owner

marzer commented Mar 14, 2022

Thanks for the report + fix!

@marzer marzer closed this as completed Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants