summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsC.cxx
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-12-18 14:44:33 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-12-18 14:44:33 (GMT)
commit318b0cdf2306a9198baa837885d65423e5f7fc96 (patch)
tree48e9ff90dbbf4295b5b17fec9ca79e5169dfda1c /Source/cmDependsC.cxx
parent4bb08e0a9b2d4b652f9bdf06f24c5db57c249abb (diff)
downloadCMake-318b0cdf2306a9198baa837885d65423e5f7fc96.zip
CMake-318b0cdf2306a9198baa837885d65423e5f7fc96.tar.gz
CMake-318b0cdf2306a9198baa837885d65423e5f7fc96.tar.bz2
Add comment about one more problem of the C depency scanner.
Alex
Diffstat (limited to 'Source/cmDependsC.cxx')
-rw-r--r--Source/cmDependsC.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmDependsC.cxx b/Source/cmDependsC.cxx
index 32b212a..44841a9 100644
--- a/Source/cmDependsC.cxx
+++ b/Source/cmDependsC.cxx
@@ -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()))