vickenty / lang-c

Lightweight C parser for Rust
Apache License 2.0
202 stars 30 forks source link

Doesn't work on Windows #1

Open CryZe opened 6 years ago

CryZe commented 6 years ago

It seems a lot of assumptions about the preprocessor are made that don't apply to the preprocessor on Windows.

vickenty commented 6 years ago

Indeed, lang-c currently relies on gcc to do preprocessing. I don't know if msvc command-line compiler can be used as a stand-alone preprocessor, but it would be nice to support it if it is. PRs welcome :)

Artoria2e5 commented 1 year ago

There seems to be a cl /P