Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:807:72: warning: Call to virtual function during construction [clang-analyzer-optin.cplusplus.VirtualCall]
- if ( sim -> debug ) sim -> out_debug.printf( "Creating Player %s", name() );
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:758:22: note: Left side of '&&' is false
- sets( ( ! is_pet() && ! is_enemy() ) ? new set_bonus_t( this ) : nullptr ),
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:765:14: note: Left side of '||' is false
- scaling( ( ! is_pet() || sim -> report_pets_separately ) ? new player_scaling_t() : nullptr ),
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:765:12: note: Assuming the condition is false
- scaling( ( ! is_pet() || sim -> report_pets_separately ) ? new player_scaling_t() : nullptr ),
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:765:12: note: '?' condition is false
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:791:21: note: Left side of '&&' is false
- if ( ! is_enemy() && ! is_pet() && type != HEALING_ENEMY )
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:805:8: note: Left side of '&&' is true
- if ( !is_enemy() && type != HEALING_ENEMY )
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:805:23: note: Assuming the condition is true
- if ( !is_enemy() && type != HEALING_ENEMY )
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:805:3: note: Taking true branch
- if ( !is_enemy() && type != HEALING_ENEMY )
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:807:10: note: Assuming the condition is true
- if ( sim -> debug ) sim -> out_debug.printf( "Creating Player %s", name() );
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:807:5: note: Taking true branch
- if ( sim -> debug ) sim -> out_debug.printf( "Creating Player %s", name() );
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:807:72: note: This constructor of an object of type 'player_t' has not returned when the virtual method was called
- if ( sim -> debug ) sim -> out_debug.printf( "Creating Player %s", name() );
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:807:72: note: Call to virtual function during construction
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:11209:8: warning: Call to virtual function during construction [clang-analyzer-optin.cplusplus.VirtualCall]
- if ( for_actor -> primary_role() == ROLE_TANK && for_actor -> level() == MAX_LEVEL )
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:746:3: note: This constructor of an object of type 'player_t' has not returned when the virtual method was called
- collected_data( this ),
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:746:3: note: Calling constructor for 'player_collected_data_t'
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:11238:58: note: Calling 'player_collected_data_t::tank_container_type'
- dtps( player -> name_str + " Damage Taken Per Second", tank_container_type( player, 2 ) ),
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:11209:8: note: Call to virtual function during construction
- if ( for_actor -> primary_role() == ROLE_TANK && for_actor -> level() == MAX_LEVEL )
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:11209:52: warning: Call to virtual function during construction [clang-analyzer-optin.cplusplus.VirtualCall]
- if ( for_actor -> primary_role() == ROLE_TANK && for_actor -> level() == MAX_LEVEL )
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:746:3: note: This constructor of an object of type 'player_t' has not returned when the virtual method was called
- collected_data( this ),
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:746:3: note: Calling constructor for 'player_collected_data_t'
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:11238:58: note: Calling 'player_collected_data_t::tank_container_type'
- dtps( player -> name_str + " Damage Taken Per Second", tank_container_type( player, 2 ) ),
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:11209:8: note: Assuming the condition is true
- if ( for_actor -> primary_role() == ROLE_TANK && for_actor -> level() == MAX_LEVEL )
- ^
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:11209:8: note: Left side of '&&' is true
- /mnt/d/dev/git/simc/engine/player/sc_player.cpp:11209:52: note: Call to virtual function during construction
- if ( for_actor -> primary_role() == ROLE_TANK && for_actor -> level() == MAX_LEVEL )
- ^
- Suppressed 430 warnings (430 in non-user code).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement