]> git.ipfire.org Git - thirdparty/krb5.git/commit
Error on discarded qualifiers in gcc 549/head
authorGreg Hudson <ghudson@mit.edu>
Tue, 4 Oct 2016 16:36:30 +0000 (12:36 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 6 Oct 2016 15:05:08 +0000 (11:05 -0400)
commit993c7c313366f3bcb86b695d6d3b0355fbc53d3f
tree2071b1086a4055287624dc111663df6c3ce6b7a7
parent66ae03f07dfe2ea876965ece14558c8fb253cb45
Error on discarded qualifiers in gcc

If a function call passes a const pointer to a function accepting the
same pointer type without the const qualifier, that should be treated
as an erorr if possible.  In sufficiently recent gcc, pass
-Werror=discarded-qualifiers.  (In clang, this is already covered by
-Werror=incompatible-pointer-types which we recently added.)
src/aclocal.m4