Created attachment 908583 [details] emerge.info.txt Hello, I get error when compiling scummvm 2.8.1-r1: ./common/singleton.h:92:17: note: remove the ‘< >’ In file included from ./engines/icb/debug.h:32: ./engines/icb/common/px_array.h: In member function ‘const Type& ICB::rcActArray<Type>::operator[](uint32) const’: ./engines/icb/common/px_array.h:105:66: error: assignment of member ‘m_userPosition’ in read-only object 105 | ((const rcActArray<Type> *)this)->m_userPosition = n + 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./engines/icb/common/px_array.h: In member function ‘const Type ICB::rcIntArray<Type>::operator[](uint32) const’: ./engines/icb/common/px_array.h:308:66: error: assignment of member ‘m_userPosition’ in read-only object 308 | ((const rcIntArray<Type> *)this)->m_userPosition = index + 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ make: *** [Makefile.common:178: engines/icb/actor.o] Error 1
Created attachment 908584 [details] build.log
Created attachment 908585 [details] emerge -pvq
Created attachment 908586 [details] environment
Might be solved by this commit: https://github.com/scummvm/scummvm/pull/5655
Created attachment 908587 [details, diff] gcc14.patch Compiling. Will let know if it helped
Patch is working.