Last active
February 29, 2020 20:01
-
-
Save xsnpdngv/a040e2d2a1e9b3ba476b008d00708c5e to your computer and use it in GitHub Desktop.
Useful C++ compile flags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_compile_options(-Wall | |
-Wextra | |
-pedantic | |
-Werror | |
-Wunitialized / -Wmaybe-uninitialized | |
-Wnon-virtual-dtor | |
-Weffc++ | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment