Incorrect file dependencies

From FetchWiki

Jump to: navigation, search

[edit] Status

  • Problem described

[edit] Problem description

File name references are currently not checked in such a way that we can guarantee that that file truly exists in the given source code.

E.g., in a file Foo/Bar/Bar.h, there might be a reference to Baz/Baz.h. Currently, there is no way to choose between the following interpretations:

  • Foo/Bar/Bar.h --> Baz/Baz.h
  • Foo/Bar/Bar.h --> Foo/Bar/Baz/Baz.h

[edit] Proposed solution

First write a list of the names of all the given files to a dbdump file. Then use this list to check each reference and select an intepretation.

Personal tools