The source file type, https://msdn.microsoft.com/en-us/library/032xwy55.aspx, should be specified to the preprocessor when running IDL generation.
Created attachment 309559 [details]
Adds /FP to the list of CODE_GENERATOR_PREPROCESSOR_ARGUMENTS. This is equivalent to the -x cpp used in GCC/Clang.
I have a bot building with VS2017 now and it's fine without this. What does this improve or fix?
(In reply to Alex Christensen from comment #2)
> I have a bot building with VS2017 now and it's fine without this. What does
> this improve or fix?
I'm trying to get things building with clang-cl.
With cl the flag isn't explicitly needed for it to function. With clang-cl if the flag isn't there then it returns nothing to STDOUT and the build fails.
Comment on attachment 309559 [details]
Clearing flags on attachment: 309559
Committed r216583: <http://trac.webkit.org/changeset/216583>
All reviewed patches have been landed. Closing bug.