Skip to content

"error: no input files" and left-over tmp-Files since latest release #70

@mbeckh

Description

@mbeckh

The latest release has two problems running include-what-you-use.exe:

  1. IWYU does not run any more. The problem seems to lie in IWYU.cs where an empty "-D" option is added to the command. The contents of the .tmp-File are as follows
    -I "includepath1" -I "includepath2" -D "pathtomyfile.cpp"
    The problem is the -D without a macro name before the actual file. If I remove the -D from the file and run IWYU from the commandline, it works.

  2. The .tmp file is never cleaned. The extension should remove the temp file after the job has finished, else the Temp-Directory is spammed with obsolete tmp-Files.

Visual Studio 2017 15.9.8, IncludeToolbox 2.4.0

As a workaround, adding a preprocessor macro to the project itself seems to help. However that sheds light on the isssue, that macros inherited from .props-files are not forwarded to IWYU.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions