configure: Don't use -Wcast-align.

The OpenSSL headers break -Wcast-align.
This commit is contained in:
Jonathan Schleifer 2012-11-21 23:23:38 +01:00
parent 394389b6c1
commit 0df1e62ff4
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ AC_CHECK_LIB(z, main, [LIBS="$LIBS -lz"], [
])
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"

View file

@ -26,7 +26,7 @@
@implementation SSLInvalidCertificateException
+ exceptionWithClass: (Class)class_
reason: (OFString*)reason_;
reason: (OFString*)reason_
{
return [[[self alloc] initWithClass: class_
reason: reason_] autorelease];