Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -455,11 +455,12 @@ AC_SUBST(FOUNDATION_COMPAT_M, "foundation-compat.m") ]) ]) AS_IF([test x"$GOBJC" = x"yes"], [ - OBJCFLAGS="$OBJCFLAGS -Wwrite-strings -Werror" + OBJCFLAGS="$OBJCFLAGS -Wwrite-strings -Wcast-align -Wpointer-arith" + OBJCFLAGS="$OBJCFLAGS -Werror" AC_MSG_CHECKING(whether gcc has bug objc/27438) AC_TRY_COMPILE([ #import Index: src/OFHTTPRequest.h ================================================================== --- src/OFHTTPRequest.h +++ src/OFHTTPRequest.h @@ -75,11 +75,10 @@ */ - (of_http_request_type_t)requestType; /** * Sets the query string for the HTTP request. - * Only used for GET and HEAD requests! * * \param qs The query string for the HTTP request */ - (void)setQueryString: (OFString*)qs; Index: src/base64.m ================================================================== --- src/base64.m +++ src/base64.m @@ -90,11 +90,11 @@ } BOOL of_base64_decode(OFDataArray *data, const char *str, size_t len) { - uint8_t *buf = (uint8_t*)str; + const uint8_t *buf = (const uint8_t*)str; size_t i; if ((len & 3) != 0) return NO;