[Bug 244035] C++ compiler pretends to support C++11 but does not have <cuchar>
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Feb 11 03:59:40 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244035
Bug ID: 244035
Summary: C++ compiler pretends to support C++11 but does not
have <cuchar>
Product: Base System
Version: 12.0-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: standards
Assignee: standards at FreeBSD.org
Reporter: bruno at clisp.org
Attachment #211548 text/plain
mime type:
Created attachment 211548
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211548&action=edit
test case
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-standards
mailing list