Summary: | [PATCH] Fix -Werror build for clang and FreeBSD | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Ting-Wei Lan <lantw44> |
Component: | logger | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED MOVED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | lantw44 |
Version: | git master | ||
Hardware: | Other | ||
OS: | FreeBSD | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Fix -Werror build for clang and FreeBSD |
Description
Ting-Wei Lan
2016-02-26 14:24:43 UTC
Created attachment 121985 [details] [review] 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. Ping ... It is annoying to see -Werror enabled without getting warnings fixed. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-logger/issues/43. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.