Skip to content

Commit 4bb67ed

Browse files
committed
issue doxygen#11538 Internal inconsistency: scope for class std::hash<...> not found!
1 parent 5421849 commit 4bb67ed

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/doxygen.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,6 @@ static void resolveClassNestingRelations()
14201420
if (cd && visitedClasses.find(icd.get())==visitedClasses.end())
14211421
{
14221422
QCString name = stripAnonymousNamespaceScope(cd->name());
1423-
//printf("processing unresolved=%s, iteration=%d\n",qPrint(cd->name()),iteration);
14241423
/// create the scope artificially
14251424
// anyway, so we can at least relate scopes properly.
14261425
Definition *d = buildScopeFromQualifiedName(name,cd->getLanguage(),nullptr);
@@ -1436,8 +1435,8 @@ static void resolveClassNestingRelations()
14361435
}
14371436
cd->setOuterScope(d);
14381437
warn(cd->getDefFileName(),cd->getDefLine(),
1439-
"Internal inconsistency: scope for class {} not "
1440-
"found!",name
1438+
"Incomplete input: scope for class {} not found!{}",name,
1439+
name.startsWith("std::") ? " Try enabling BUILTIN_STL_SUPPORT." : ""
14411440
);
14421441
}
14431442
}

0 commit comments

Comments
 (0)