ObjFW  Check-in [16bfb32a24]

Overview
Comment:Disable buggy warning on PowerPC 64 big endian
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 16bfb32a2490249dfaebf6fd4e816c640ec39afe963bbaa4df8bab8c804af420
User & Date: js on 2024-08-20 22:25:26
Other Links: manifest | tags
Context
2024-08-21
20:14
Make ObjFW compile on macOS/PowerPC 64 check-in: 7b0cd744dc user: js tags: trunk
2024-08-20
22:25
Disable buggy warning on PowerPC 64 big endian check-in: 16bfb32a24 user: js tags: trunk
22:09
Improve compatibility with old glibc check-in: fb069cf2ae user: js tags: trunk
Changes

Modified configure.ac from [749c4ad2d7] to [4a09a376d7].

359
360
361
362
363
364
365







366
367
368
369
370
371
372
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379







+
+
+
+
+
+
+







	[OBJCFLAGS="$OBJCFLAGS -Wundeclared-selector"])
AX_CHECK_COMPILER_FLAGS([-Wsemicolon-before-method-body -Werror],
	[OBJCFLAGS="$OBJCFLAGS -Wsemicolon-before-method-body"])
AX_CHECK_COMPILER_FLAGS([-Wobjc-missing-property-synthesis -Werror],
	[OBJCFLAGS="$OBJCFLAGS -Wobjc-missing-property-synthesis"])
AX_CHECK_COMPILER_FLAGS([-Wmissing-method-return-type -Werror],
	[OBJCFLAGS="$OBJCFLAGS -Wmissing-method-return-type"])

AS_IF([test x"$host_cpu" = x"powerpc64"], [
	dnl Buggy warning in both GCC and Clang on PowerPC 64!
	dnl But only in big endian mode.
	AX_CHECK_COMPILER_FLAGS([-Wno-overlength-strings -Werror],
		[OBJCFLAGS="$OBJCFLAGS -Wno-overlength-strings"])
])

case "$host" in
m68k-*-amigaos*)
	dnl The inline headers generate code that triggers -Wpointer-sign.
	OBJCFLAGS="$OBJCFLAGS -Wno-pointer-sign"
	;;
esac