configure: Don't use -Wcast-align.
The OpenSSL headers break -Wcast-align.
This commit is contained in:
parent
394389b6c1
commit
0df1e62ff4
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
@implementation SSLInvalidCertificateException
|
||||
+ exceptionWithClass: (Class)class_
|
||||
reason: (OFString*)reason_;
|
||||
reason: (OFString*)reason_
|
||||
{
|
||||
return [[[self alloc] initWithClass: class_
|
||||
reason: reason_] autorelease];
|
||||
|
|
Reference in a new issue