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

Unknown warning option on OSX #22

Closed
Karsten1987 opened this issue Aug 7, 2018 · 2 comments
Closed

Unknown warning option on OSX #22

Karsten1987 opened this issue Aug 7, 2018 · 2 comments

Comments

@Karsten1987
Copy link
Contributor

When compiling locally on my machine (-DCMAKE_CXX_FLAGS=-Werror), my clang compiler complains about two unsupported warnings:

error: : unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'?
error: : unknown warning option '-Wuseless-cast'

Both are found in here:
https://github.com/eProsima/Fast-CDR/blob/master/cmake/common/check_configuration.cmake#L129-L130

OSX: macOS Sierra, Version 10.12.6
CLANG: clang version 7.0.0 (https://llvm.org/git/clang.git 4f6bfc6f7dced31f46786058f1c8472d3b2b215a) (https://llvm.org/git/llvm.git d9367a91972e6631f831c329a47856785031d58e)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /usr/local/opt/llvm/bin

@richiware
Copy link
Member

richiware commented Aug 27, 2018 via email

@Karsten1987
Copy link
Contributor Author

that seems to work. Thanks for the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants