[Bug 276797] games/dxx-rebirth: Does not build with lang/gcc13 on i386: error: use of built-in trait '__remove_cv(_Tp)' in function signature; use library traits instead
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 276797] games/dxx-rebirth: Does not build with lang/gcc13 on i386: error: use of built-in trait '__remove_cv(_Tp)' in function signature; use library traits instead"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 276797] games/dxx-rebirth: Does not build with lang/gcc13 on i386: error: use of built-in trait '__remove_cv(_Tp)' in function signature; use library traits instead"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Feb 2024 11:02:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276797 Bug ID: 276797 Summary: games/dxx-rebirth: Does not build with lang/gcc13 on i386: error: use of built-in trait '__remove_cv(_Tp)' in function signature; use library traits instead Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: salvadore@freebsd.org CC: pkubaj@FreeBSD.org Blocks: 273397 CC: pkubaj@FreeBSD.org This bug report blocks the update of GCC_DEFAULT to 13. This webpage can help finding ta fix: https://gcc.gnu.org/gcc-13/porting_to.html In file included from /usr/include/c++/v1/type_traits:520, from /usr/include/c++/v1/limits:827, from /usr/include/c++/v1/__fwd/span.h:15, from /usr/include/c++/v1/span:133, from common/include/dxxerror.h:31, from similar/main/kmatrix.cpp:32: /usr/include/c++/v1/__type_traits/make_unsigned.h: In instantiation of 'constexpr std::__1::__make_unsigned_t<_Tp> std::__1::__to_unsigned_like(_Tp) [with _Tp = int]': /usr/include/c++/v1/__type_traits/make_unsigned.h:89:24: error: use of built-in trait '__remove_cv(_Tp)' in function signature; use library traits instead 89 | __make_unsigned_t<_Tp> __to_unsigned_like(_Tp __x) noexcept { | ^~~~~~~~~~~~~~~~~~ scons: *** [build/similar/main/.d1x-rebirth.kmatrix.o] Error 1 scons: building terminated because of errors. Failed target count: total=1; targets with enable_build_failure_summary=1: 1 Failed node list: build/similar/main/.d1x-rebirth.kmatrix.o Failed command list: g++13 -c -g -O2 -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=vla -pthread -funsigned-char -O2 -pipe -fstack-protector-strong -Wno-error=missing-field-initializers -Wno-error=maybe-uninitialized -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -flto -std=gnu++20 -Werror=unused -Werror=useless-cast -Wimplicit-fallthrough=5 -Wno-dangling-reference -fvisibility=hidden -Wduplicated-branches -Wduplicated-cond -Wsuggest-attribute=noreturn -Wsuggest-final-types -Wsuggest-override -Wlogical-op -Wold-style-cast -Wredundant-decls -Wno-sign-compare -isystem /usr/local/include -DPHYSFS_DEPRECATED= -DDXX_USE_SHAREPATH=1 -DNDEBUG -DRELEASE -D_REENTRANT -DDXX_BUILD_DESCENT_I -D__STDC_FORMAT_MACROS -Icommon/include -Icommon/main -I. -Ibuild -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/local/include/webp -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/opus -Id1x-rebirth/main "similar/main/kmatrix.cpp" -o "build/similar/main/.d1x-rebirth.kmatrix.o" If the issue needs time to be fixed, please consider introduce USE_GCC=12 as a temporary solution. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273397 [Bug 273397] [exp-run] Update GCC_DEFAULT to 13 etc. -- You are receiving this mail because: You are the assignee for the bug.