https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373
Jan Beich changed:
What|Removed |Added
Assignee|b...@freebsd.org|i...@freebsd.org
Flags|
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373
Jan Beich changed:
What|Removed |Added
CC||dan.kotowski@a9development.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373
--- Comment #9 from Jake Freeland ---
(In reply to Jake Freeland from comment #8)
Chromium successfully compiled with this change. I'll update review D41600 to
include sys/time.h in timerfd.h.
Thanks for reporting this, Jan.
--
You are
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373
--- Comment #8 from Jake Freeland ---
(In reply to Jan Beich from comment #7)
Of course:)
Does chromium successfully compile with this change? I just tested using this
example:
#include
int main() { timerfd_create(CLOCK_MONOTONIC, 0);
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373
--- Comment #7 from Jan Beich ---
(In reply to Jake Freeland from comment #6)
> I am getting successful compilation when including sys/time.h in timerfd.h.
Maybe also drop as it's already included by .
--
You are receiving this mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373
--- Comment #6 from Jake Freeland ---
(In reply to Jake Freeland from comment #5)
Oops, I misread your comment. glib/musl includes time.h, not sys/time.h, in
timerfd.h.
I am getting successful compilation when including sys/time.h in
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373
--- Comment #5 from Jake Freeland ---
(In reply to Jan Beich from comment #4)
Based on some simple testing, it looks like we can just follow glib/musl's lead
and include sys/time.h?
--
You are receiving this mail because:
You are the
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373
--- Comment #4 from Jan Beich ---
Both attachment 244373 and review D41600?id=126574 are not self-sufficient:
$ cat a.c
#include
int main() { timerfd_create(CLOCK_MONOTONIC, 0); return 0; }
$ cc a.c
a.c:2:29: error: use of undeclared
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373
Jake Freeland changed:
What|Removed |Added
CC||j...@technologyfriends.net
---
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373
Jan Beich changed:
What|Removed |Added
Attachment #244372|0 |1
is obsolete|
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373
--- Comment #1 from Jan Beich ---
Created attachment 244372
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=244372=edit
Drop via forward declaration
Tested by:
$ echo 'int main() {}' | cc -xc - -o/dev/null -include
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373
Bug ID: 273373
Summary: fails to build in POSIX mode due to
namespace pollution
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
12 matches
Mail list logo