janestreet / sexplib

Automated S-expression conversion
MIT License
147 stars 27 forks source link

pass -Wno-invalid-pp-token to cpp to make clang happy #6

Closed hannesm closed 10 years ago

hannesm commented 10 years ago

otherwise, the resulting depends file will be empty and the build fails

fixes #5

avsm commented 10 years ago

This fails on OpenBSD, so its cant be passed unconditionally

cc1: error: unrecognized command line option "-Wno-invalid-pp-token" 
bmillwood commented 10 years ago

@diml thinks we can just use -w in either case, which makes sense to me.

bmillwood commented 10 years ago

cf. 68efd7f1da739a97b34a9896625e1086e7d8fa6f