Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2020 03:59:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        standards@FreeBSD.org
Subject:   [Bug 244035] C++ compiler pretends to support C++11 but does not have <cuchar>
Message-ID:  <bug-244035-99@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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@FreeBSD.org
          Reporter: bruno@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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244035-99>