-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix VC++ build warnings #68
Conversation
Hey! I saw you fix up the warnings. I'm going to run another build, and if things are okay I hope you don't mind me closing this pull request! |
So the only leftover error is C4800 for VC++, which is the The best way to fix those is to just compare against 0, I think (apparently the Here's the build log with the affected files: https://gist.github.com/ThePhD/14c210388fb3e85cea6b . |
Thanks. I'll take a look. |
I've updated the It looks like VC++ supports _strdup, so I added it to this PR's commits. I'm fairly certain g++ and clang++ both have _strdup available... Finally, I have to close this issue because of some branch and history fixes I had to make to work on the most up-to-date branch rather than my outdated one, so a new Pull Request was opened at #114: sorry if it's confusing! |
Fix android r? @mbrubeck The issue here is that now that we're not using the NDK toolchain, the compilers won't "magically" figure out all of the include paths. These have all been set up in `CXXINCLUDE` but we need to pass them to `CPPINCLUDE` in order for the C preprocessor to also be able to pick up the hodge-podge of include directories. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-harfbuzz/68) <!-- Reviewable:end -->
This PR is a simple PR to fix errors with VC++'s compiler an warnings about conversions from integers to booleans. Otherwise, the build is errorless.