Merge topic 'AddCommentToCDependencyScanner'

318b0cd Add comment about one more problem of the C depency scanner.
4bb08e0 Remove trailing whitespace
This commit is contained in:
David Cole 2011-12-20 14:21:43 -05:00 committed by CMake Topic Stage
commit 7ca69a08cb
1 changed files with 11 additions and 8 deletions

View File

@ -465,6 +465,9 @@ void cmDependsC::Scan(std::istream& is, const char* directory,
// that this check does not account for the possibility of two
// headers with the same name in different directories when one
// is included by double-quotes and the other by angle brackets.
// It also does not work properly if two header files with the same
// name exist in different directories, and both are included from a
// file their own directory by simply using "filename.h" (#12619)
// This kind of problem will be fixed when a more
// preprocessor-like implementation of this scanner is created.
if (this->IncludeRegexScan.find(entry.FileName.c_str()))