You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
The text was updated successfully, but these errors were encountered:
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);
The text was updated successfully, but these errors were encountered: