mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
When any hip header included with -D__HIPCC_RTC__, it means that compiler was launched with -E -P to produce a preprocessed header. In this case not a single libstdc++ header can be used, otherwise it causes function redefinition on next attempt to include the same header elsewhere. Closes: https://bugs.gentoo.org/966188 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44725 Signed-off-by: Sam James <sam@gentoo.org>