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

Fix up definition usage #128

Closed
erincatto opened this issue Feb 29, 2024 · 2 comments
Closed

Fix up definition usage #128

erincatto opened this issue Feb 29, 2024 · 2 comments

Comments

@erincatto
Copy link
Owner

erincatto/box2d#762

Make sure these boxes are checked before submitting your issue - thank you!

Just an FYI that on the Mac, I get errors compiling the samples. I can work around just by not building the samples.

/box2c/samples/sample_shapes.cpp:304:36: error: taking the address of a temporary object of type 'b2ShapeDef' [-Waddress-of-temporary]
b2CreatePolygonShape(m_ship1Id, &b2DefaultShapeDef(), &right);
^~~~~~~~~~~~~~~~~~~~
...
^~~~~~~~~~~~~~~~~~~
/box2c/samples/sample_shapes.cpp:473:35: error: taking the address of a temporary object of type 'b2ShapeDef' [-Waddress-of-temporary]
b2CreateSegmentShape(groundId, &b2DefaultShapeDef(), &segment);
[ X] Ask for help on discord and/or reddit
[ X] Consider providing a dump file using b2World::Dump

@erincatto
Copy link
Owner Author

Try adding samples to macos CI

@erincatto
Copy link
Owner Author

Added samples to macOS CI in #130

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

1 participant