MegaGlest / megaglest-source

MegaGlest real-time strategy game engine (cross-platform, 3-d)
http://megaglest.org/
346 stars 89 forks source link

duplicate symbol found while building with new default -fno-common option (LLVM 11) #200

Closed monwarez closed 3 years ago

monwarez commented 3 years ago

Last release of MegaGlest failed to link with current llvm 11 due to duplicate symbol : VERBOSE_MODE_ENABLED , ftpAddUPNPPortForward, ftpFindExternalFTPServerIp, ftpIsClientAllowedToGetFile, ftpIsValidClient, ftpRemoveUPNPPortForward , ftpAddUPNPortForward

Is there change in master that fix this issue or do we need to link with -fcommon option ?

monwarez commented 3 years ago

seems the same as https://github.com/MegaGlest/megaglest-source/issues/197