Created attachment 23120
test case
Originally reported at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244035.
The FreeBSD people told me to report it here.
C++11 added the header file <cuchar> (a wrapper around the C header file
<uchar.h>). See https://en.cppreference.com/w/cpp/header
$ cat foo.cc
#if __cplusplus >= 201103
#include <cuchar>
#endif
$ c++ -c foo.cc
foo.cc:2:10: fatal error: 'cuchar' file not found
#include <cuchar>
^~~~~~~~
1 error generated.
$ c++ --version
FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM
6.0.1)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin
foo.cc
(51 bytes, text/x-c++src)