[Bug 273373] fails to build in POSIX mode due to namespace pollution

2023-09-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373 Jan Beich changed: What|Removed |Added Assignee|b...@freebsd.org|i...@freebsd.org Flags|

[Bug 273373] fails to build in POSIX mode due to namespace pollution

2023-09-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373 Jan Beich changed: What|Removed |Added CC||dan.kotowski@a9development.

[Bug 273373] fails to build in POSIX mode due to namespace pollution

2023-08-29 Thread bugzilla-noreply
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

[Bug 273373] fails to build in POSIX mode due to namespace pollution

2023-08-28 Thread bugzilla-noreply
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);

[Bug 273373] fails to build in POSIX mode due to namespace pollution

2023-08-28 Thread bugzilla-noreply
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

[Bug 273373] fails to build in POSIX mode due to namespace pollution

2023-08-28 Thread bugzilla-noreply
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

[Bug 273373] fails to build in POSIX mode due to namespace pollution

2023-08-28 Thread bugzilla-noreply
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

[Bug 273373] fails to build in POSIX mode due to namespace pollution

2023-08-28 Thread bugzilla-noreply
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

[Bug 273373] fails to build in POSIX mode due to namespace pollution

2023-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373 Jake Freeland changed: What|Removed |Added CC||j...@technologyfriends.net ---

[Bug 273373] fails to build in POSIX mode due to namespace pollution

2023-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373 Jan Beich changed: What|Removed |Added Attachment #244372|0 |1 is obsolete|

[Bug 273373] fails to build in POSIX mode due to namespace pollution

2023-08-26 Thread bugzilla-noreply
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

[Bug 273373] fails to build in POSIX mode due to namespace pollution

2023-08-26 Thread bugzilla-noreply
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