We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7b9a31 commit 8af0cdeCopy full SHA for 8af0cde
1 file changed
src/common/project.cpp
@@ -1430,7 +1430,7 @@ OptionsMap loadOptionsMap(const yaml &root)
1430
{
1431
auto ol = opt_level.first.template as<String>();
1432
if (!(ol == "any" || ol == "static" || ol == "shared"))
1433
- throw std::runtime_error("Wrong option level dicrective");
+ throw std::runtime_error("Wrong option level directive. Must be one of any, static or shared");
1434
if (!opt_level.second.IsMap())
1435
throw std::runtime_error("'" + ol + "' should be a map");
1436
0 commit comments