Skip to content

SigImp: Does not process more than one header file #65

@jozefizso

Description

@jozefizso

Issue from Wed, 14 Nov 2012 02:18:23 GMT Originally opened at https://clrinterop.codeplex.com/workitem/10598


The -help description for SigImp indicates that it can accept multiple header files for processing. However, when attempting to use this feature I found that only the first header file would be processed. I found the problem in the ProcessHeaderFiles() function of Module1.vb.

This line:
writer.Write("#include ""{0}""", p)
Should be changed to:
writer.WriteLine("#include ""{0}""", p)

This ensures that each #include statement written to the temporary file is written to its own line, which allows the preprocessor to properly parse them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CodePlexbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions