Compile error with craft on windows using mingw compiler
C:/CraftRoot/build/_/7971cb53/kgoldrunner-19.08.1/src/kgrgame.cpp:118:56: error: call of overloaded 'KRandomSequence(time_t)' is ambiguous
randomGen = new KRandomSequence (std::time(nullptr)); ^
In file included from C:/CraftRoot/include/KF5/KCoreAddons/KRandomSequence:1,
from C:/CraftRoot/build/_/7971cb53/kgoldrunner-19.08.1/src/kgrgame.cpp:59:
C:/CraftRoot/include/KF5/KCoreAddons/krandomsequence.h:70:5: note: candidate: 'KRandomSequence::KRandomSequence(const KRandomSequence&)'
KRandomSequence(const KRandomSequence &a); ^~~~~~~~~~~~~~~
C:/CraftRoot/include/KF5/KCoreAddons/krandomsequence.h:60:14: note: candidate: 'KRandomSequence::KRandomSequence(long int)'
explicit KRandomSequence(long lngSeed); ^~~~~~~~~~~~~~~
C:/CraftRoot/include/KF5/KCoreAddons/krandomsequence.h:59:14: note: candidate: 'KRandomSequence::KRandomSequence(int)'
explicit KRandomSequence(int intSeed = 0); ^~~~~~~~~~~~~~~