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