TriggerGCode() compilation error
-
Hello,
I wan't to build the V3.4 version, but i have this error :
../src/GCodes/GCodes.cpp:376:32: error: 'TriggerGCode' was not declared in this scope; did you mean 'triggerGCode'?Here is the code in GCodes.cpp :
// Start running the config file bool GCodes::RunConfigFile(const char* fileName, bool isMainConfigFile) noexcept { const bool ret = DoFileMacro(*TriggerGCode(), fileName, false, AsyncSystemMacroCode); if (ret && isMainConfigFile) { runningConfigFile = true; } return ret; }
-
@mbtobeca thanks for pointing that out. I have committed a correction to that code.
-
@dc42 I replace it by "*triggerCode", i think it's correct, but why do you not have th same error ?
-
@mbtobeca that code was part of a bug fix commit cherry picked from the 3.5-dev branch into the 3.4-dev branch. Cherry picking commits from one branch to another sometimes causes these build issues. We pick them up next time we compile the 3.4-dev branch.