BitFunnel / NativeJIT

A C++ expression -> x64 JIT
http://bitfunnel.org/
MIT License
1.14k stars 85 forks source link

Determine which VC++ warning removal pragmas we don't need #15

Closed danluu closed 8 years ago

danluu commented 8 years ago

This code was originally written for an old version of VC++ which had a lot more quirks than 2015. Some of the warning removal pragmas can probably be removed, and many of the ones that can't be removed should probably have better documentation.

It shouldn't be that hard to write a script that removes the pragmas one-by-one to see which ones are no longer necessary.

Also, in some cases, we might be able to just change the code to work cross-platform without some kind of platform-specific #ifdef'd pragma.

danluu commented 8 years ago

I was thinking about doing this but we have 7 outstanding PRs for code review and it's basically guaranteed that this will conflict with at least one of those when we try to merge.

danluu commented 8 years ago

I send out a codeflow for review for this the other day. It's pretty trivial and I'll merge it one it passes code review.