LukeShortCloud / swgemu-server-packages

SWGEmu server Linux system packages that are easy to build and are reproducible.
GNU General Public License v3.0
2 stars 1 forks source link

GCC 9.1 build warnings about a deprecated copy method #8

Closed LukeShortCloud closed 5 years ago

LukeShortCloud commented 5 years ago

On Fedora 30, using GCC 9.1.1, there are 143 warnings about a deprecated copy method.

https://copr-be.cloud.fedoraproject.org/results/ekultails/swgemu/fedora-30-x86_64/00985547-swgemu-server/build.log.gz

BUILDSTDERR: /builddir/build/BUILD/Core3/MMOEngine/include/system/util/ArrayList.h:693:25: error: implicitly-declared 'engine::db::UpdateObject& engine::db::UpdateObject::operator=(const engine::db::UpdateObject&)' is deprecated [-Werror=deprecated-copy]

This can be addressed by adding a similar patch as this: https://github.com/TheAnswer/Core3/commit/478d4d49cc6ec23b0099091dec3902c0ac6479d4