-
Notifications
You must be signed in to change notification settings - Fork 647
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
Urgent warnings when running ninja against source #18
Comments
I'm on the same OS and ninja versions, and I haven't encountered this error.
If you're either using an older clang, or a newer clang, it might be due to that. |
@jacklaurencegaray What's the output of |
|
From what I can gather from web searches, this is more related to the currently installed libraries than to the build process itself. I was not able to reproduce it on Mojave 10.14.6 with Apple LLVM version 10.0.1 (clang-1001.0.46.4), and I think it shouldn't matter. I'll be sure to keep an eye on it, though. Thanks for reporting! |
Summary: Treat `getField<JFoo>` as equivalent to `getField<JniType<JFoo>>`, which is equivalent to `getField<JFoo::javaobject>`. This required introducing a new metaprogramming struct, `PrimitiveOrJniType`, which works like `JniType`, but passes through Java primitives. Pull Request resolved: facebookincubator/fbjni#18 Test Plan: CI Reviewed By: cjhopman Differential Revision: D18121231 Pulled By: dreiss fbshipit-source-id: 6c1db54263e40a9f438172cc134394e57cf3f752
Running
ninja
seems to trigger the above warnings. Not sure if this matters.OS version: macOS Mojave 10.14.6
Ninja version: 1.9.0
The text was updated successfully, but these errors were encountered: