4 ms·
Side note: `-Wall` is not "all warnings". gcc(1): > -Wall > This enables all the warnings about constructions that some users consider questionable Personall
by necessity 10y ago
Side note: `-Wall` is not "all warnings". gcc(1):
> -Wall
> This enables all the warnings about constructions that some users consider questionable
Personally, all my Makefiles use `-Wall -Wextra -Wpedantic -Wformat-security -Wshadow -Wconversion -Wfloat-equal -Wpadded -Winline -Wvector-operation-performance` by default, adding or removing some depending on the project. `-Wconversion` is specially useful.
- viraptor 10y agoThere's -Weverything in clang, but it's not available in gcc.