[Bug 94309] [PATCH] Fix -Werror build for clang and FreeBSD
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Feb 26 14:29:01 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=94309
--- Comment #1 from Ting-Wei Lan <lantw44 at gmail.com> ---
Created attachment 121985
--> https://bugs.freedesktop.org/attachment.cgi?id=121985&action=edit
Fix -Werror build for clang and FreeBSD
Replace -D_POSIX_SOURCE with -D_POSIX_C_SOURCE=200809L because the
former macro limits POSIX standard version to 1003.1-1988 on FreeBSD,
which causes atoll function to be unavailable.
-Wtautological-constant-out-of-range-compare is ignored in a
g_return_val_if_fail because the warning cannot be avoided.
Self assignments are removed to prevent warnings.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list