Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -42,11 +42,11 @@ AC_CHECK_LIB(z, main, [LIBS="$LIBS -lz"], [ AC_MSG_ERROR(No libz found! Please install zlib!) ]) AS_IF([test x"$GOBJC" = x"yes"], [ - OBJCFLAGS="$OBJCFLAGS -Wwrite-strings -Wcast-align -Wpointer-arith" + OBJCFLAGS="$OBJCFLAGS -Wwrite-strings -Wpointer-arith" dnl We need -Wno-deprecated-declarations as OpenSSL is deprecated on dnl OS X. OBJCFLAGS="$OBJCFLAGS -Wno-deprecated-declarations -Werror" ]) Index: src/SSLInvalidCertificateException.m ================================================================== --- src/SSLInvalidCertificateException.m +++ src/SSLInvalidCertificateException.m @@ -24,11 +24,11 @@ #import @implementation SSLInvalidCertificateException + exceptionWithClass: (Class)class_ - reason: (OFString*)reason_; + reason: (OFString*)reason_ { return [[[self alloc] initWithClass: class_ reason: reason_] autorelease]; }