2 ms·
We use quite a few flags to issue warnings for our code[1]. The linked autoconf macro will detect whether or not the flags are supported on the detected compil
by rescrv 13y ago
We use quite a few flags to issue warnings for our code[1]. The linked autoconf macro will detect whether or not the flags are supported on the detected compiler, and automatically add the flags to the build. It works for clang, gcc, g++, and helps us spot errors that would otherwise be hard to detect and fix.
[1] https://github.com/rescrv/HyperDex/blob/master/m4/anal_warnings.m4 https://github.com/rescrv/HyperDex/blob/master/m4/anal_warni...