Skip to content
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

make dist error #343

Closed
Adidez opened this issue Apr 8, 2014 · 1 comment
Closed

make dist error #343

Adidez opened this issue Apr 8, 2014 · 1 comment

Comments

@Adidez
Copy link

Adidez commented Apr 8, 2014

During make dist, this error pops up.

2objc-0.8.8/guava/build_result/objc/com/google/common/base/CaseFormat.m:69:118: error:
multiple unsequenced modifications to 'j' [-Werror,-Wunsequenced]
...= [((ComGoogleCommonBaseCharMatcher *) nil_chk(wordBoundary_)) indexInWithJavaLangCharSequence:s withInt:+...
~ ^
1 error generated.

@tomball
Copy link
Collaborator

tomball commented Apr 8, 2014

This has been fixed in 0.9. If you don't want to move to that version, you can avoid this warning by adding parentheses around the sub-expressions in that statement. If it's not apparent where the Java source line is, run "j2objc -g" and the generated file will have #line directives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants