LoggerPluginManager.cc:44:29: error: function ‘create_legacy_logger’ redeclared as variable
Summary
Building titan.core master (c3485f5e) PKGBUILD of AUR with makepkg fails with:
LoggerPluginManager.cc:44:29: error: function ‘create_legacy_logger’ redeclared as variable
44 | extern "C" cb_create_plugin create_legacy_logger;
| ^
LegacyLogger.cc:50:16: note: previously declared here
50 | ILoggerPlugin *create_legacy_logger() { return new LegacyLogger(); }
| ^
It seems it fails first time, running make a second time somehow fixes it.
Using g++ (GCC) 11.2.0.
I attach entire build log.titan-git-8.1.0.r28.gc3485f5e2-1-x86_64-build.log
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=titan-gi
/cc @aknappqwt