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

linux build fail when meet sampe #1703

Open
ohouha opened this issue Mar 22, 2019 · 0 comments
Open

linux build fail when meet sampe #1703

ohouha opened this issue Mar 22, 2019 · 0 comments

Comments

@ohouha
Copy link

ohouha commented Mar 22, 2019

when I build bgfx on linux 16.0.4, some errors happened on example 29, can you help me to solve it, or is there any way that I can skip example 29 ? Thank you.

debugdraw.cpp
../../../examples/29-debugdraw/debugdraw.cpp: In function ‘bool {anonymous}::overlap(const Aabb&, const {anonymous}::Shape&)’:
../../../examples/29-debugdraw/debugdraw.cpp:507:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Aabb *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:520:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Aabb);
^
../../../examples/29-debugdraw/debugdraw.cpp:508:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Capsule *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:520:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Aabb);
^
../../../examples/29-debugdraw/debugdraw.cpp:509:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Cone *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:520:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Aabb);
^
../../../examples/29-debugdraw/debugdraw.cpp:510:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Cylinder *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:520:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Aabb);
^
../../../examples/29-debugdraw/debugdraw.cpp:511:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Disk *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:520:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Aabb);
^
../../../examples/29-debugdraw/debugdraw.cpp:512:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Obb *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:520:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Aabb);
^
../../../examples/29-debugdraw/debugdraw.cpp:513:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, reinterpret_cast<const bx::Plane>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:520:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Aabb);
^
../../../examples/29-debugdraw/debugdraw.cpp:514:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Sphere *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:520:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Aabb);
^
../../../examples/29-debugdraw/debugdraw.cpp:515:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Triangle *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:520:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Aabb);
^
../../../examples/29-debugdraw/debugdraw.cpp: In function ‘bool {anonymous}::overlap(const Capsule&, const {anonymous}::Shape&)’:
../../../examples/29-debugdraw/debugdraw.cpp:507:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Aabb *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:521:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Capsule);
^
../../../examples/29-debugdraw/debugdraw.cpp:508:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Capsule *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:521:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Capsule);
^
../../../examples/29-debugdraw/debugdraw.cpp:509:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Cone *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:521:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Capsule);
^
../../../examples/29-debugdraw/debugdraw.cpp:510:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Cylinder *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:521:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Capsule);
^
../../../examples/29-debugdraw/debugdraw.cpp:511:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Disk *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:521:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Capsule);
^
../../../examples/29-debugdraw/debugdraw.cpp:512:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Obb *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:521:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Capsule);
^
../../../examples/29-debugdraw/debugdraw.cpp:513:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, reinterpret_cast<const bx::Plane>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:521:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Capsule);
^
../../../examples/29-debugdraw/debugdraw.cpp:514:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Sphere *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:521:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Capsule);
^
../../../examples/29-debugdraw/debugdraw.cpp:515:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Triangle *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:521:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Capsule);
^
../../../examples/29-debugdraw/debugdraw.cpp: In function ‘bool {anonymous}::overlap(const Cone&, const {anonymous}::Shape&)’:
../../../examples/29-debugdraw/debugdraw.cpp:507:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Aabb *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:522:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Cone);
^
../../../examples/29-debugdraw/debugdraw.cpp:508:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Capsule *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:522:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Cone);
^
../../../examples/29-debugdraw/debugdraw.cpp:509:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Cone *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:522:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Cone);
^
../../../examples/29-debugdraw/debugdraw.cpp:510:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Cylinder *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:522:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Cone);
^
../../../examples/29-debugdraw/debugdraw.cpp:511:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Disk *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:522:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Cone);
^
../../../examples/29-debugdraw/debugdraw.cpp:512:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Obb *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:522:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Cone);
^
../../../examples/29-debugdraw/debugdraw.cpp:513:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, reinterpret_cast<const bx::Plane>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:522:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Cone);
^
../../../examples/29-debugdraw/debugdraw.cpp:514:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Sphere *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:522:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Cone);
^
../../../examples/29-debugdraw/debugdraw.cpp:515:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Triangle *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:522:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Cone);
^
../../../examples/29-debugdraw/debugdraw.cpp: In function ‘bool {anonymous}::overlap(const Cylinder&, const {anonymous}::Shape&)’:
../../../examples/29-debugdraw/debugdraw.cpp:507:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Aabb *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:523:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Cylinder);
^
../../../examples/29-debugdraw/debugdraw.cpp:508:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Capsule *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:523:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Cylinder);
^
../../../examples/29-debugdraw/debugdraw.cpp:509:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Cone *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:523:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Cylinder);
^
../../../examples/29-debugdraw/debugdraw.cpp:510:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Cylinder *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:523:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Cylinder);
^
../../../examples/29-debugdraw/debugdraw.cpp:511:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Disk *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:523:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Cylinder);
^
../../../examples/29-debugdraw/debugdraw.cpp:512:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Obb *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:523:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Cylinder);
^
../../../examples/29-debugdraw/debugdraw.cpp:513:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, reinterpret_cast<const bx::Plane>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:523:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Cylinder);
^
../../../examples/29-debugdraw/debugdraw.cpp:514:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Sphere *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:523:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Cylinder);
^
../../../examples/29-debugdraw/debugdraw.cpp:515:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Triangle *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:523:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Cylinder);
^
../../../examples/29-debugdraw/debugdraw.cpp: In function ‘bool {anonymous}::overlap(const Disk&, const {anonymous}::Shape&)’:
../../../examples/29-debugdraw/debugdraw.cpp:507:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Aabb *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:524:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Disk);
^
../../../examples/29-debugdraw/debugdraw.cpp:508:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Capsule *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:524:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Disk);
^
../../../examples/29-debugdraw/debugdraw.cpp:509:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Cone *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:524:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Disk);
^
../../../examples/29-debugdraw/debugdraw.cpp:510:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Cylinder *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:524:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Disk);
^
../../../examples/29-debugdraw/debugdraw.cpp:511:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Disk *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:524:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Disk);
^
../../../examples/29-debugdraw/debugdraw.cpp:512:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Obb *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:524:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Disk);
^
../../../examples/29-debugdraw/debugdraw.cpp:513:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, reinterpret_cast<const bx::Plane>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:524:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Disk);
^
../../../examples/29-debugdraw/debugdraw.cpp:514:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Sphere *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:524:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Disk);
^
../../../examples/29-debugdraw/debugdraw.cpp:515:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Triangle *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:524:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Disk);
^
../../../examples/29-debugdraw/debugdraw.cpp: In function ‘bool {anonymous}::overlap(const Obb&, const {anonymous}::Shape&)’:
../../../examples/29-debugdraw/debugdraw.cpp:507:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Aabb *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:525:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Obb);
^
../../../examples/29-debugdraw/debugdraw.cpp:508:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Capsule *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:525:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Obb);
^
../../../examples/29-debugdraw/debugdraw.cpp:509:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Cone *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:525:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Obb);
^
../../../examples/29-debugdraw/debugdraw.cpp:510:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Cylinder *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:525:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Obb);
^
../../../examples/29-debugdraw/debugdraw.cpp:511:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Disk *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:525:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Obb);
^
../../../examples/29-debugdraw/debugdraw.cpp:512:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Obb *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:525:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Obb);
^
../../../examples/29-debugdraw/debugdraw.cpp:513:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, reinterpret_cast<const bx::Plane>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:525:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Obb);
^
../../../examples/29-debugdraw/debugdraw.cpp:514:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Sphere *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:525:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Obb);
^
../../../examples/29-debugdraw/debugdraw.cpp:515:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Triangle *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:525:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(Obb);
^
../../../examples/29-debugdraw/debugdraw.cpp: In function ‘bool {anonymous}::overlap(const bx::Plane&, const {anonymous}::Shape&)’:
../../../examples/29-debugdraw/debugdraw.cpp:507:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Aabb *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:526:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(bx::Plane);
^
../../../examples/29-debugdraw/debugdraw.cpp:508:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Capsule *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:526:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(bx::Plane);
^
../../../examples/29-debugdraw/debugdraw.cpp:509:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Cone *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:526:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(bx::Plane);
^
../../../examples/29-debugdraw/debugdraw.cpp:510:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Cylinder *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:526:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(bx::Plane);
^
../../../examples/29-debugdraw/debugdraw.cpp:511:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Disk *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:526:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(bx::Plane);
^
../../../examples/29-debugdraw/debugdraw.cpp:512:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Obb *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:526:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(bx::Plane);
^
../../../examples/29-debugdraw/debugdraw.cpp:513:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, reinterpret_cast<const bx::Plane>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:526:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(bx::Plane);
^
../../../examples/29-debugdraw/debugdraw.cpp:514:105: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
eturn ::overlap(_shapeA, *reinterpret_cast<const Sphere *>(_shapeB.data) );
^
../../../examples/29-debugdraw/debugdraw.cpp:526:1: note: in expansion of macro ‘OVERLAP’
OVERLAP(bx::Plane);

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