Slide89: we mention the usual warning options (-Wall, -Wextra, -Werror) when building programs. It would be nice to also mention some other options, slightly less generic yet widely used
For example, mentioning source fortification (-D _FORTIFY_SOURCE) allows more runtime checks in glibc, and can generate ABRT signals if some checks do not pass
Slide89: we mention the usual warning options (
-Wall
,-Wextra
,-Werror
) when building programs. It would be nice to also mention some other options, slightly less generic yet widely usedFor example, mentioning source fortification (
-D _FORTIFY_SOURCE
) allows more runtime checks in glibc, and can generate ABRT signals if some checks do not pass