Skip to content

Fix all -Wall and -Wextra compiler warnings

Louis Moureaux requested to merge lmoureau/ProtoDarwin:bugfix/warnings into master

Closes #75 (closed)

Closes #76 (closed)

Fixes a few other issues (returning pointers to temporaries, unused variables...).

Enables -Wall -Werror by default. On the CI, the warnings become errors. See here for the rationale not to use -Werror by default in CMake.

clang-tidy still has a lot to say, but that's for another time.

This will likely conflict with the trees MR.

Merge request reports