[v3 PATCH] Add C++11 <cuchar>

Jonathan Wakely jwakely@redhat.com
Fri Sep 4 11:13:00 GMT 2015


On 14/08/15 12:01 -0400, Ed Smith-Rowland wrote:
>OK.
>
>This tested clean because it didn't install the headers.
>
>So Jonathan.  I am going to throw in the sponge on the configury.
>
>Could you have a look and carry this over the finish line?

The main problem was in acinclude.m4:

+  GLIBCXX_CONDITIONAL(ENABLE_CUCHAR, test $enable_libstdcxx_cuchar =
yes)

Nothing set enable_libstdcxx_cuchar, so the conditional was false, and
so the headers weren't installed due to:

+if ENABLE_CUCHAR
+c_base_cuchar_header = ${c_base_srcdir}/cuchar
+c_compatibility_cuchar_header = ${c_compatibility_srcdir}/uchar.h
+else
+c_base_cuchar_header =
+c_compatibility_cuchar_header =
+endif

I've attached what I'm committing, which has a few tweaks but is
substantially the same as your last patch. Thanks for adding this
missing feature!

Tested powerpc64le-linux, committed to trunk.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 13428 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20150904/a7021c61/attachment.bin>


More information about the Libstdc++ mailing list