Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jozefizso opened this issue Nov 14, 2012 · 0 comments
Open

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

jozefizso opened this issue Nov 14, 2012 · 0 comments
Labels
bug Something isn't working CodePlex

Comments

@jozefizso
Copy link
Member

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.

@jozefizso jozefizso added CodePlex bug Something isn't working labels Oct 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CodePlex
Projects
None yet
Development

No branches or pull requests

1 participant