[Bug 276416] devel/ninja - Compile error, char_traits.h file not found
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon May 13 23:00:37 BST 2024
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276416
Eric Hodel <drbrain at segment7.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |drbrain at segment7.net
--- Comment #5 from Eric Hodel <drbrain at segment7.net> ---
I experienced this issue attempting to compile boringssl via a rust crate.
Updating to FreeBSD 14.0-RELEASE-p5 does not resolve this for me
I can reproduce this by attempting to compile a "test.cpp":
extern "C++" {
#include <stdlib.h>
#include <algorithm>
}
Running `/usr/bin/clang test.cpp` gives:
In file included from test.cpp:3:
In file included from /usr/include/c++/v1/algorithm:1913:
In file included from /usr/include/c++/v1/chrono:746:
In file included from /usr/include/c++/v1/__chrono/convert_to_tm.h:19:
In file included from /usr/include/c++/v1/__chrono/statically_widen.h:17:
In file included from /usr/include/c++/v1/__format/concepts.h:17:
In file included from /usr/include/c++/v1/__format/format_parse_context.h:15:
/usr/include/c++/v1/string_view:220:10: fatal error: '__string/char_traits.h'
file not found
#include <__string/char_traits.h>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list