Advertisement
Guest User

Untitled

a guest
Dec 11th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.80 KB | None | 0 0
  1. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:807:72: warning: Call to virtual function during construction [clang-analyzer-optin.cplusplus.VirtualCall]
  2. if ( sim -> debug ) sim -> out_debug.printf( "Creating Player %s", name() );
  3. ^
  4. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:758:22: note: Left side of '&&' is false
  5. sets( ( ! is_pet() && ! is_enemy() ) ? new set_bonus_t( this ) : nullptr ),
  6. ^
  7. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:765:14: note: Left side of '||' is false
  8. scaling( ( ! is_pet() || sim -> report_pets_separately ) ? new player_scaling_t() : nullptr ),
  9. ^
  10. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:765:12: note: Assuming the condition is false
  11. scaling( ( ! is_pet() || sim -> report_pets_separately ) ? new player_scaling_t() : nullptr ),
  12. ^
  13. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:765:12: note: '?' condition is false
  14. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:791:21: note: Left side of '&&' is false
  15. if ( ! is_enemy() && ! is_pet() && type != HEALING_ENEMY )
  16. ^
  17. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:805:8: note: Left side of '&&' is true
  18. if ( !is_enemy() && type != HEALING_ENEMY )
  19. ^
  20. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:805:23: note: Assuming the condition is true
  21. if ( !is_enemy() && type != HEALING_ENEMY )
  22. ^
  23. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:805:3: note: Taking true branch
  24. if ( !is_enemy() && type != HEALING_ENEMY )
  25. ^
  26. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:807:10: note: Assuming the condition is true
  27. if ( sim -> debug ) sim -> out_debug.printf( "Creating Player %s", name() );
  28. ^
  29. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:807:5: note: Taking true branch
  30. if ( sim -> debug ) sim -> out_debug.printf( "Creating Player %s", name() );
  31. ^
  32. /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
  33. if ( sim -> debug ) sim -> out_debug.printf( "Creating Player %s", name() );
  34. ^
  35. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:807:72: note: Call to virtual function during construction
  36. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:11209:8: warning: Call to virtual function during construction [clang-analyzer-optin.cplusplus.VirtualCall]
  37. if ( for_actor -> primary_role() == ROLE_TANK && for_actor -> level() == MAX_LEVEL )
  38. ^
  39. /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
  40. collected_data( this ),
  41. ^
  42. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:746:3: note: Calling constructor for 'player_collected_data_t'
  43. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:11238:58: note: Calling 'player_collected_data_t::tank_container_type'
  44. dtps( player -> name_str + " Damage Taken Per Second", tank_container_type( player, 2 ) ),
  45. ^
  46. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:11209:8: note: Call to virtual function during construction
  47. if ( for_actor -> primary_role() == ROLE_TANK && for_actor -> level() == MAX_LEVEL )
  48. ^
  49. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:11209:52: warning: Call to virtual function during construction [clang-analyzer-optin.cplusplus.VirtualCall]
  50. if ( for_actor -> primary_role() == ROLE_TANK && for_actor -> level() == MAX_LEVEL )
  51. ^
  52. /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
  53. collected_data( this ),
  54. ^
  55. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:746:3: note: Calling constructor for 'player_collected_data_t'
  56. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:11238:58: note: Calling 'player_collected_data_t::tank_container_type'
  57. dtps( player -> name_str + " Damage Taken Per Second", tank_container_type( player, 2 ) ),
  58. ^
  59. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:11209:8: note: Assuming the condition is true
  60. if ( for_actor -> primary_role() == ROLE_TANK && for_actor -> level() == MAX_LEVEL )
  61. ^
  62. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:11209:8: note: Left side of '&&' is true
  63. /mnt/d/dev/git/simc/engine/player/sc_player.cpp:11209:52: note: Call to virtual function during construction
  64. if ( for_actor -> primary_role() == ROLE_TANK && for_actor -> level() == MAX_LEVEL )
  65. ^
  66. Suppressed 430 warnings (430 in non-user code).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement