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

Suppress boost warnings in build #87

Open
oruebel opened this issue Sep 2, 2024 · 0 comments
Open

Suppress boost warnings in build #87

oruebel opened this issue Sep 2, 2024 · 0 comments
Labels
category: proposal proposed enhancements or new features priority: low alternative solution already working and/or relevant to only specific user(s)

Comments

@oruebel
Copy link
Contributor

oruebel commented Sep 2, 2024

Currently we see a lot of warnings during compile generated by the boost library. To make it easier to focus on warnings and errors generated by AqNWB itself, it would be nice to suppress warnings generated by Boost. I think the-isystem flag could work to tell the compiler to treat the BOOST directory as a system include directory, which should suppresses warnings from those headers. I.e., add something along the lines of COMPILE_OPTIONS "-isystem${Boost_INCLUDE_DIRS}" in the CMakeLists.txt

@oruebel oruebel added category: proposal proposed enhancements or new features priority: low alternative solution already working and/or relevant to only specific user(s) labels Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: proposal proposed enhancements or new features priority: low alternative solution already working and/or relevant to only specific user(s)
Projects
None yet
Development

No branches or pull requests

1 participant