box2d:

Run:43521388434
Check:main: bugprone-*
Status:ok
Time:1s
Warnings:85 (TP 0, FP 0, unclassified 85)
Source:erincatto/box2d/blob/1025f9a10949b963d6311995910bdd04f72dae6c

Warnings (85):

VerdictLocationMessage
-src/../include/box2d/b2_body.h:632:14use of a signed integer operand with a binary bitwise operator
-src/../include/box2d/b2_body.h:650:14use of a signed integer operand with a binary bitwise operator
-src/../include/box2d/b2_body.h:682:14use of a signed integer operand with a binary bitwise operator
-src/../include/box2d/b2_contact.h:254:14use of a signed integer operand with a binary bitwise operator
-src/../include/box2d/b2_math.h:182:212 adjacent parameters of 'b2Mat22' of similar type ('float') are easily swapped by mistake
-src/../include/box2d/b2_math.h:670:13use of a signed integer operand with a binary bitwise operator
-src/../include/box2d/b2_math.h:671:13use of a signed integer operand with a binary bitwise operator
-src/../include/box2d/b2_math.h:672:13use of a signed integer operand with a binary bitwise operator
-src/../include/box2d/b2_math.h:673:13use of a signed integer operand with a binary bitwise operator
-src/../include/box2d/b2_math.h:674:13use of a signed integer operand with a binary bitwise operator
-src/collision/b2_broad_phase.cpp:32:34narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/collision/b2_broad_phase.cpp:36:33narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/collision/b2_broad_phase.cpp:80:34narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/collision/b2_broad_phase.cpp:120:38use of a signed integer operand with a binary bitwise operator
-src/collision/b2_broad_phase.cpp:121:35narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/collision/b2_chain_shape.cpp:61:32narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/collision/b2_chain_shape.cpp:81:32narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/collision/b2_collide_edge.cpp:468:2repeated branch body in conditional chain
-src/collision/b2_collision.cpp:206:292 adjacent parameters of 'b2ClipSegmentToLine' of convertible types are easily swapped by mistake
-src/collision/b2_distance.cpp:89:512 adjacent parameters of 'Set' of convertible types are easily swapped by mistake
-src/collision/b2_dynamic_tree.cpp:31:33narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/collision/b2_dynamic_tree.cpp:66:34narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/collision/b2_dynamic_tree.cpp:721:33narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/collision/b2_polygon_shape.cpp:406:14narrowing conversion from 'int32' (aka 'int') to 'float'
-src/collision/b2_time_of_impact.cpp:198:312 adjacent parameters of 'Evaluate' of convertible types are easily swapped by mistake
-src/collision/b2_time_of_impact.cpp:417:9use of a signed integer operand with a binary bitwise operator
-src/common/b2_block_allocator.cpp:76:24initialization of 'b2_sizeMap' with static storage duration may throw an exception that cannot be caught
-src/common/b2_block_allocator.cpp:95:31narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/common/b2_block_allocator.cpp:98:9multilevel pointer conversion from 'b2Block **' to 'void *', please use explicit cast
-src/common/b2_block_allocator.cpp:140:33narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/common/b2_block_allocator.cpp:157:32result of multiplication in type 'int32' (aka 'int') is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t'
-src/common/b2_block_allocator.cpp:158:31result of multiplication in type 'int' is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t'
-src/common/b2_block_allocator.cpp:161:30result of multiplication in type 'int' is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t'
-src/common/b2_block_allocator.cpp:229:9multilevel pointer conversion from 'b2Block **' to 'void *', please use explicit cast
-src/common/b2_math.cpp:25:14initialization of 'b2Vec2_zero' with static storage duration may throw an exception that cannot be caught
-src/common/b2_settings.cpp:23:9declaration uses identifier '_CRT_SECURE_NO_WARNINGS', which is a reserved identifier
-src/common/b2_timer.cpp:90:21narrowing conversion from 'unsigned long long' to signed type 'time_t' (aka 'long') is implementation-defined
-src/common/b2_timer.cpp:91:27narrowing conversion from 'unsigned long long' to signed type 'suseconds_t' (aka 'long') is implementation-defined
-src/common/b2_timer.cpp:96:14narrowing conversion from '__suseconds_t' (aka 'long') to signed type 'int' is implementation-defined
-src/common/b2_timer.cpp:97:17performing an implicit widening conversion to type 'suseconds_t' (aka 'long') of a multiplication performed in type 'int'
-src/common/b2_timer.cpp:103:14narrowing conversion from '__suseconds_t' (aka 'long') to signed type 'int' is implementation-defined
-src/common/b2_timer.cpp:104:17performing an implicit widening conversion to type 'suseconds_t' (aka 'long') of a multiplication performed in type 'int'
-src/common/b2_timer.cpp:107:19narrowing conversion from '__time_t' (aka 'long') to 'float'
-src/common/b2_timer.cpp:107:53narrowing conversion from '__suseconds_t' (aka 'long') to 'float'
-src/dynamics/b2_body.cpp:487:14use of a signed integer operand with a binary bitwise operator
-src/dynamics/b2_body.cpp:522:14use of a signed integer operand with a binary bitwise operator
-src/dynamics/b2_contact.cpp:234:14use of a signed integer operand with a binary bitwise operator
-src/dynamics/b2_contact_manager.cpp:144:18use of a signed integer operand with a binary bitwise operator
-src/dynamics/b2_contact_solver.cpp:56:78narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/dynamics/b2_contact_solver.cpp:57:78narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/dynamics/b2_fixture.cpp:62:51narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/dynamics/b2_fixture.cpp:80:29narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/dynamics/b2_island.cpp:154:23 adjacent parameters of 'b2Island' of similar type ('int32') are easily swapped by mistake
-src/dynamics/b2_island.cpp:170:45narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/dynamics/b2_island.cpp:171:50narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/dynamics/b2_island.cpp:172:46narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/dynamics/b2_island.cpp:174:52narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/dynamics/b2_island.cpp:175:51narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/dynamics/b2_island.cpp:183:20multilevel pointer conversion from 'b2Joint **' to 'void *', please use explicit cast
-src/dynamics/b2_island.cpp:184:20multilevel pointer conversion from 'b2Contact **' to 'void *', please use explicit cast
-src/dynamics/b2_island.cpp:185:20multilevel pointer conversion from 'b2Body **' to 'void *', please use explicit cast
-src/dynamics/b2_prismatic_joint.cpp:73:622 adjacent parameters of 'Initialize' of similar type ('const b2Vec2 &') are easily swapped by mistake
-src/dynamics/b2_pulley_joint.cpp:40:282 adjacent parameters of 'Initialize' of similar type ('const b2Vec2 &') are easily swapped by mistake
-src/dynamics/b2_wheel_joint.cpp:44:582 adjacent parameters of 'Initialize' of similar type ('const b2Vec2 &') are easily swapped by mistake
-src/dynamics/b2_world.cpp:410:17use of a signed integer operand with a binary bitwise operator
-src/dynamics/b2_world.cpp:414:17use of a signed integer operand with a binary bitwise operator
-src/dynamics/b2_world.cpp:423:55narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/dynamics/b2_world.cpp:551:19use of a signed integer operand with a binary bitwise operator
-src/dynamics/b2_world.cpp:556:24multilevel pointer conversion from 'b2Body **' to 'void *', please use explicit cast
-src/dynamics/b2_world.cpp:593:18use of a signed integer operand with a binary bitwise operator
-src/dynamics/b2_world.cpp:600:18use of a signed integer operand with a binary bitwise operator
-src/dynamics/b2_world.cpp:600:19use of a signed integer operand with a unary bitwise operator
-src/dynamics/b2_world.cpp:744:26use of a signed integer operand with a binary bitwise operator
-src/dynamics/b2_world.cpp:877:21use of a signed integer operand with a binary bitwise operator
-src/dynamics/b2_world.cpp:889:29use of a signed integer operand with a binary bitwise operator
-src/dynamics/b2_world.cpp:889:30use of a signed integer operand with a unary bitwise operator
-src/dynamics/b2_world.cpp:905:203 adjacent parameters of 'Step' of convertible types are easily swapped by mistake
-src/rope/b2_rope.cpp:82:37narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/rope/b2_rope.cpp:83:26narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/rope/b2_rope.cpp:84:27narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/rope/b2_rope.cpp:85:26narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/rope/b2_rope.cpp:86:32narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/rope/b2_rope.cpp:109:49narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/rope/b2_rope.cpp:110:43narrowing conversion from '__size_t' (aka 'unsigned long') to signed type 'int32' (aka 'int') is implementation-defined
-src/rope/b2_rope.cpp:244:192 adjacent parameters of 'Step' of convertible types are easily swapped by mistake

Generated from 3ddf6fa37f.