Advertisement
Vultraz

Untitled

Apr 19th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.44 KB | None | 0 0
  1. ^
  2. ../src/serialization/parser.cpp: In member function ‘void {anonymous}::parser::parse_variable()’:
  3. ../src/serialization/parser.cpp:314:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  4. if (previous_string) buffer += " ";
  5. ^~
  6. ../src/serialization/parser.cpp:316:3: note: here
  7. default:
  8. ^~~~~~~
  9.  
  10.  
  11. ../src/serialization/tokenizer.cpp: In member function ‘const token& tokenizer::next_token()’:
  12. ../src/serialization/tokenizer.cpp:132:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
  13. if (!is_alnum(peek_char())) {
  14. ^~
  15. ../src/serialization/tokenizer.cpp:139:2: note: here
  16. default:
  17. ^~~~~~~
  18.  
  19.  
  20. ../src/ai/actions.cpp: In member function ‘virtual void ai::recall_result::do_check_before()’:
  21. ../src/ai/actions.cpp:591:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
  22. if ( location_specified ) {
  23. ^~
  24. ../src/ai/actions.cpp:596:2: note: here
  25. case ::actions::RECRUIT_OK:
  26. ^~~~
  27.  
  28.  
  29. ../src/ai/actions.cpp: In member function ‘virtual void ai::recruit_result::do_check_before()’:
  30. ../src/ai/actions.cpp:743:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
  31. if ( location_specified ) {
  32. ^~
  33. ../src/ai/actions.cpp:748:2: note: here
  34. case ::actions::RECRUIT_OK:
  35. ^~~~
  36.  
  37.  
  38. ../src/editor/controller/editor_controller.cpp: In member function ‘virtual bool editor::editor_controller::execute_command(const hotkey::hotkey_command&, int, bool)’:
  39. ../src/editor/controller/editor_controller.cpp:865:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  40. if (!context_manager_->get_map().everything_selected()) {
  41. ^~
  42. ../src/editor/controller/editor_controller.cpp:869:3: note: here
  43. case HOTKEY_EDITOR_SELECT_INVERSE:
  44. ^~~~
  45.  
  46.  
  47. ../src/editor/controller/editor_controller.cpp:958:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  48. if (context_manager_->toggle_update_transitions())
  49. ^~
  50. ../src/editor/controller/editor_controller.cpp:961:3: note: here
  51. case HOTKEY_EDITOR_UPDATE_TRANSITIONS:
  52. ^~~~
  53.  
  54.  
  55. ../src/game_events/handlers.cpp: In member function ‘bool game_events::event_handler::matches_name(const string&, const game_data*) const’:
  56. ../src/game_events/handlers.cpp:163:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
  57. do_skip = (match_it == match_begin || match_it == match_end);
  58. ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  59. ../src/game_events/handlers.cpp:165:3: note: here
  60. case '_':
  61. ^~~~
  62.  
  63.  
  64. ../src/gui/auxiliary/iterator/walker_grid.cpp: In member function ‘virtual gui2::iteration::walker_base::state_t gui2::iteration::grid::next(gui2::iteration::walker_base::level)’:
  65. ../src/gui/auxiliary/iterator/walker_grid.cpp:40:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  66. if(widget_) {
  67. ^~
  68. ../src/gui/auxiliary/iterator/walker_grid.cpp:46:3: note: here
  69. case internal:
  70. ^~~~
  71.  
  72.  
  73. ../src/gui/auxiliary/iterator/walker_tree_node.cpp: In member function ‘virtual gui2::iteration::walker_base::state_t gui2::iteration::tree_node::next(gui2::iteration::walker_base::level)’:
  74. ../src/gui/auxiliary/iterator/walker_tree_node.cpp:41:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  75. if(widget_) {
  76. ^~
  77. ../src/gui/auxiliary/iterator/walker_tree_node.cpp:47:3: note: here
  78. case internal:
  79. ^~~~
  80.  
  81.  
  82. ../src/gui/dialogs/file_dialog.cpp: In member function ‘bool gui2::dialogs::file_dialog::process_submit_common(gui2::window&, const string&)’:
  83. ../src/gui/dialogs/file_dialog.cpp:341:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  84. if(save_mode_) {
  85. ^~
  86. ../src/gui/dialogs/file_dialog.cpp:345:3: note: here
  87. case SELECTION_NOT_FOUND:
  88. ^~~~
  89.  
  90.  
  91. ../src/gui/dialogs/message.cpp: In function ‘int gui2::show_message(CVideo&, const string&, const string&, gui2::dialogs::message::button_style, bool, bool)’:
  92. ../src/gui/dialogs/message.cpp:187:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
  93. dlg.set_button_caption(message::ok, _("OK"));
  94. ~^~~~~~
  95. ../src/gui/dialogs/message.cpp:189:3: note: here
  96. case message::cancel_button:
  97. ^~~~
  98.  
  99.  
  100. ../src/gui/widgets/text_box_base.cpp: In member function ‘void gui2::text_box_base::signal_handler_sdl_key_down(gui2::event::ui_event, bool&, SDL_Keycode, SDL_Keymod, const string&)’:
  101. ../src/gui/widgets/text_box_base.cpp:455:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  102. modifier = static_cast<SDL_Keymod>(modifier & ~KMOD_CTRL);
  103. ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  104. ../src/gui/widgets/text_box_base.cpp:458:3: note: here
  105. case SDLK_HOME:
  106. ^~~~
  107.  
  108.  
  109. ../src/gui/widgets/text_box_base.cpp:469:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  110. modifier = static_cast<SDL_Keymod>(modifier & ~KMOD_CTRL);
  111. ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112. ../src/gui/widgets/text_box_base.cpp:472:3: note: here
  113. case SDLK_END:
  114. ^~~~
  115.  
  116.  
  117. ../src/play_controller.cpp: In member function ‘void play_controller::tab()’:
  118. ../src/play_controller.cpp:626:54: warning: this statement may fall through [-Wimplicit-fallthrough=]
  119. dictionary.insert(commands.begin(), commands.end());
  120. ^
  121. ../src/play_controller.cpp:629:2: note: here
  122. case gui::TEXTBOX_MESSAGE:
  123. ^~~~
  124.  
  125.  
  126. ../src/scripting/lua_common.cpp: In function ‘bool luaW_checkvariable(lua_State*, variable_access_create&, int)’:
  127. ../src/scripting/lua_common.cpp:900:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  128. }
  129. ^
  130. ../src/scripting/lua_common.cpp:903:3: note: here
  131. default:
  132. ^~~~~~~
  133.  
  134.  
  135. ../src/scripting/lua_unit.cpp: In function ‘void unit_show_error(lua_State*, int, int)’:
  136. ../src/scripting/lua_unit.cpp:169:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  137. luaW_type_error(L, index, "unit");
  138. ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  139. ../src/scripting/lua_unit.cpp:170:3: note: here
  140. case LU_NOT_VALID:
  141. ^~~~
  142.  
  143.  
  144. ../src/scripting/lua_unit.cpp:171:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
  145. luaL_argerror(L, index, "unit not found");
  146. ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  147. ../src/scripting/lua_unit.cpp:172:3: note: here
  148. case LU_NOT_ON_MAP:
  149. ^~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement