[libcxx-commits] [PATCH] D130946: [libc++][cuchar] Declare std::c8rtomb and std::mbrtoc8 in <cuchar> if available.

Tom Honermann via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Aug 3 15:06:20 PDT 2022


tahonermann added a subscriber: hubert.reinterpretcast.
tahonermann added a comment.

@hubert.reinterpretcast, the AIX builds are failing the `libcxx/test/std/strings/c.strings/no_c8rtomb_mbrtoc8.verify.cpp` test with the following:

  error: 'error' diagnostics seen but not expected:
    File /usr/include/uchar.h Line 38: cannot combine with previous 'type-name' declaration specifier
    File /usr/include/uchar.h Line 39: cannot combine with previous 'type-name' declaration specifier
  2 errors generated.

The existing `libcxx/test/std/strings/c.strings/cuchar.compile.pass.cpp` test is marked `XFAIL` for AIX, presumably because it fails with the same errors.
I'll be happy to try to fix the problem (assuming it isn't a problem with the system header itself) if I can either get access to an AIX environment or get a copy of `/usr/include/uchar.h` to look at.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130946/new/

https://reviews.llvm.org/D130946



More information about the libcxx-commits mailing list