Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -871,22 +871,22 @@ OBJCFLAGS="$old_OBJCFLAGS" ]) old_OBJCFLAGS="$OBJCFLAGS" OBJCFLAGS="$OBJCFLAGS -Wdocumentation" - AC_MSG_CHECKING(whether -Wdocumentation is buggy) + AC_MSG_CHECKING(whether -Wdocumentation works correctly) AC_TRY_COMPILE([ /*! * @class Test conftest.m conftest.m */ @interface Test @end ], [ ], [ - AC_MSG_RESULT(no, adding -Wdocumentation) + AC_MSG_RESULT(yes) ], [ - AC_MSG_RESULT(yes) + AC_MSG_RESULT(no) OBJCFLAGS="$old_OBJCFLAGS" ]) ]) AS_IF([test x"$cross_compiling" = x"yes"], [ Index: src/OFConstantString.m ================================================================== --- src/OFConstantString.m +++ src/OFConstantString.m @@ -119,11 +119,11 @@ #if defined(OF_APPLE_RUNTIME) && !defined(__OBJC2__) /* * objc_setFutureClass suddenly stopped working as OFConstantString * became more complex. So the only solution is to make * _OFConstantStringClassRerence the actual class, but there is no - * objc_initializeClassPair in 10.5. However, objc_allocateClassPair + * objc_initializeClassPair in 10.5. However, objc_allocateClassPair * does not register the new class with the subclass in the ObjC1 * runtime like the ObjC2 runtime does, so this workaround should be * fine. */ Class class;