Date: Sat, 03 Feb 2024 11:02:39 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [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 Message-ID: <bug-276797-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276797 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 he= lp 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(_T= p) [with _Tp =3D int]': /usr/include/c++/v1/__type_traits/make_unsigned.h:89:24: error: use of buil= t-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=3D1; targets with enable_build_failure_summary= =3D1: 1 Failed node list: build/similar/main/.d1x-rebirth.kmatrix.o Failed command list: g++13 -c -g -O2 -ftabstop=3D4 -Wall -Werror=3Dextra -Werror=3Dformat=3D2 -Werror=3Dmissing-braces -Werror=3Dmissing-include-dirs -Werror=3Duninitial= ized -Werror=3Dundef -Werror=3Dpointer-arith -Werror=3Dcast-qual -Werror=3Dmissing-declarations -Werror=3Dvla -pthread -funsigned-char -O2 -= pipe -fstack-protector-strong -Wno-error=3Dmissing-field-initializers -Wno-error=3Dmaybe-uninitialized -stdlib=3Dlibc++ -Wl,-rpath=3D/usr/local/l= ib/gcc13 -isystem /usr/local/include -flto -std=3Dgnu++20 -Werror=3Dunused -Werror=3Duseless-cast -Wimplicit-fallthrough=3D5 -Wno-dangling-reference -fvisibility=3Dhidden -Wduplicated-branches -Wduplicated-cond -Wsuggest-attribute=3Dnoreturn -Wsuggest-final-types -Wsuggest-override -Wlogical-op -Wold-style-cast -Wredundant-decls -Wno-sign-compare -isystem /usr/local/include -DPHYSFS_DEPRECATED=3D -DDXX_USE_SHAREPATH=3D1 -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=3D12= as a temporary solution. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273397 [Bug 273397] [exp-run] Update GCC_DEFAULT to 13 etc. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276797-7788>