We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I'm trying to build and test GUnit and am running into some errors.
I clone each of the libraries and then build a build folder and run cmake .. After that I run the make command and get the following error.
cmake ..
make
GUnit/include/GUnit/GSteps.h:580:68: error: use 'template' keyword to treat 'get' as a dependent template name
The text was updated successfully, but these errors were encountered:
Hi, I'm getting the same error after downloading from master. The fix is in GSteps.h, in GSteps::NextStep()
"template " needs to be inserted in two places (lines 580 and 583):
void NextStep() { ... std::size_t tmp_line{}; nlohmann::json expected_step{}; for (const auto& exp_step : pickle_steps_) { if (exp_step["text"] == expectedStep.second->name) { if (exp_step["text"] == expectedStep.second->name) { const auto line = exp_step["locations"].back()["line"].template get<std::size_t>(); // here if (line > line_) { expected_step = exp_step; tmp_line = exp_step["locations"].back()["line"].template get<std::size_t>(); // and here break; } } } } ... }
Sorry, something went wrong.
No branches or pull requests
Hi, I'm trying to build and test GUnit and am running into some errors.
I clone each of the libraries and then build a build folder and run
cmake ..
After that I run the
make
command and get the following error.GUnit/include/GUnit/GSteps.h:580:68: error: use 'template' keyword to treat 'get' as a dependent template name
The text was updated successfully, but these errors were encountered: