commit | 28e295d92c6fcb416ce6077cb2018a48f3c258f3 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Aug 30 06:02:47 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Aug 30 10:16:30 2021 +0200 |
tree | a6602df7e76af424a1efc92d798d66303a502b6d | |
parent | 7b2108cad1aa963dae663bdabb3840132afbe6b5 [diff] |
BUILD: globally enable -Wundef As seen in issue #1369, supporting #if with unknown macros can silently hide typos that may result in suboptimal code paths to be used, or even possibly bugs. It looks like our code base does not rely that much on this, so it's worth enabling -Wundef to catch future ones and have them turned to more explicit "#if defined()" or #ifdef.