Skip to content
Snippets Groups Projects

Fix -Wimplicit-function-declaration on FreeBSD

Merged Jan Beich requested to merge (removed):freebsd into master

gettimeofday() is an XSI extension, obsoleted in X/Open Issue 7. When _POSIX_C_SOURCE is defined FreeBSD enforces strict POSIX compliance i.e., disables extensions. While the warning can be silenced by defining _XOPEN_SOURCE it has be kept in sync with _POSIX_C_SOURCE value.

Edited by Jan Beich

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading