Skip to content

Instantly share code, notes, and snippets.

@xsnpdngv
Last active February 29, 2020 20:01
Show Gist options
  • Save xsnpdngv/a040e2d2a1e9b3ba476b008d00708c5e to your computer and use it in GitHub Desktop.
Save xsnpdngv/a040e2d2a1e9b3ba476b008d00708c5e to your computer and use it in GitHub Desktop.
Useful C++ compile flags
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