I'm unable to build StuntRally 2.6.2 on Ubuntu Impish (21.10): gcc-11.
- {l Code}: {l Select All Code}
/usr/include/OGRE/OgreMemorySTLAllocator.h:130:44: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
(...)
/usr/include/c++/11/bits/functional_hash.h:265:12: error: redefinition of ‘struct std::hash’
265 | struct hash<nullptr_t> : public __hash_base<size_t, nullptr_t>
| ^~~~~~~~~~~~~~~
(...)
/usr/include/c++/11/ostream:250:7: error: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::nullptr_t)’ cannot be overloaded with ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(int)’
250 | operator<<(nullptr_t)
| ^~~~~~~~
Can anyone help?
This issue is also reported here: https://github.com/stuntrally/stuntrally/issues/49 . You can find the full build log there: build_log.txt.
Thank you!
Jhonny Oliveira
https://xtradeb.net