Skip to content

Conversation

habemus-papadum
Copy link
Contributor

The first of a series of PRs related to #416

@habemus-papadum
Copy link
Contributor Author

Dies on windows. Suggestions welcome!

open(header, "w") do io
write(io, "void foo();")
end
run(`$(clang()) -x c $header -emit-ast -o $pch`);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To use Clang on Windows, we need some setups to let Clang know where to find those system headers and that's a bit tricky to get it right. If the precompiled header is not very large, we can use pre-generatad the pch files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants