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

Empty expression statement has no effect #3

Closed
ericwomer opened this issue Dec 21, 2018 · 3 comments
Closed

Empty expression statement has no effect #3

ericwomer opened this issue Dec 21, 2018 · 3 comments

Comments

@ericwomer
Copy link

ericwomer commented Dec 21, 2018

Fails to compiles on Ubuntu 18.04 with clang-8

PhysX/physx/../pxshared/include/foundation/unix/PxUnixIntrinsics.h:178:50: error: empty expression statement has no effect; remove unnecessary ';' to silence this
      warning [-Werror,-Wextra-semi-stmt]
        PX_ASSERT(((size_t(dest) + offset) & 0x7f) == 0);

@AlesBorovicka
Copy link

Hi,
I dont see clang 8 release available yet. It should compile fine with up to clang 7. We will update to clang 8 in later updates.

@ericwomer
Copy link
Author

Yes, you are correct, I don't know what happened between the clang 7 and 8, but it compiles now and the demos run, minus one cavete, a dependenct on glut3 thats not handled by cmake, it should warn that the demos depend on glut3, I ended up installing glut3 and it works fine.

@AlesBorovicka
Copy link

I see, will try to take a look at that, thanks for the report

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