DescriptionAvoid easy warnings with Clang
Building with Clang is currently a lot nosier than with GCC. This
represents a first step into the right direction by picking the
low-hanging fruits.
1. Fix warning flag detection for Clang
Clang requires -Werror=unknown-warning-option to actually throw an
error if it doesn't know about a warning flag.
2. Fix struct vs. class template for PQueue
Clang issues a warning that this could be an issue for the
"Windows C++ ABI". Apparently, that's not really causing problems
as the mismatch was introduced by commit c8989177a in 1997...
Patch Set 1 #
Total comments: 1
Patch Set 2 : Fix comment #Patch Set 3 : Add comment about GCC #
MessagesTotal messages: 7
|