Issue 82442 - makedepend ignores indented include statements
Summary: makedepend ignores indented include statements
Status: CONFIRMED
Alias: None
Product: Build Tools
Classification: Code
Component: solenv (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-09 16:46 UTC by ooo
Modified: 2013-08-07 15:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ooo 2007-10-09 16:46:04 UTC
makedepend doesn't generate a dependency if the include statement is indented by
whitespace, e.g.
#include "foo"
works fine, but
  #include "foo"
doesn't.

The culprit seems to be in soltools/mkdepend/main.c where getline() doesn't eat
leading whitespace.
Comment 1 quetschke 2007-11-19 18:14:57 UTC
Not a dmake issue.