[Bug 293859] C11/C++11's call_once requires nonstandard library -lstdthreads for linking
[email protected] Mon, 16 Mar 2026 20:48:27 +0000
| Newsgroups | gmane.os.freebsd.devel.standards |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293859 --- Comment #2 from Matthias Andree <[email protected]> --- Created attachment 268860 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268860&action=edit try-callonce.c This bombs out with a C and with a C++ compiler, try either of these command lines: cc try-callonce.c -Wall -Wextra -O2 -std=c11 -pedantic-errors c++ try-callonce.cpp -Wall -Wextra -O2 -std=c++11 -pedantic-errors -- You are receiving this mail because: You are the assignee for the bug.