[libcxx-commits] [PATCH] D135469: [libc++] <type_traits>: Avoid instantiating a pointer type.
John Baldwin via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Oct 7 11:08:59 PDT 2022
bsdjhb added a comment.
I ran into this error in a perhaps unusual environment which is using GCC 12.0 to compile LLVM 14 (included in FreeBSD) using libc++ as the C++ runtime (rather than using libstdc++). The exact error from GCC is included in the review I opened for FreeBSD at https://reviews.freebsd.org/D36898. I forward ported the patch from LLVM 14 but do not have an easy way to test the setup I used to reproduce the GCC error on LLVM 14. I did not use `__add_pointer_t` because line 49 uses `add_pointer<>`, but if `__add_pointer_t` is preferred I'm happy to switch it to that instead.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135469/new/
https://reviews.llvm.org/D135469
More information about the libcxx-commits
mailing list