[Commits] [wesnoth/wesnoth] 4b39f1: Fix Lua for CMake with clang

GitHub noreply at github.com
Tue Jul 25 23:57:39 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 4b39f14af4f9b5530e7482da329e33e3a407128b
      https://github.com/wesnoth/wesnoth/commit/4b39f14af4f9b5530e7482da329e33e3a407128b
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

  Changed paths:
    M src/CMakeLists.txt

  Log Message:
  -----------
  Fix Lua for CMake with clang

When using CMake with clang, the wesnoth_lua_config.h was omitted causing problems with exception handling (among other unreported issues).

This closes Issue #1669


  Commit: d30b6f6438fc6d3f60e1ce3364900116fb7f9976
      https://github.com/wesnoth/wesnoth/commit/d30b6f6438fc6d3f60e1ce3364900116fb7f9976
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

  Changed paths:
    M src/CMakeLists.txt

  Log Message:
  -----------
  Suppress clang pedantic warning in Lua


  Commit: 23e972cba8a5103dd9ec3ee3ea4c1de04236dad1
      https://github.com/wesnoth/wesnoth/commit/23e972cba8a5103dd9ec3ee3ea4c1de04236dad1
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

  Changed paths:
    M src/lexical_cast.hpp

  Log Message:
  -----------
  Correct lexical_cast for long double implicit conversion


  Commit: ea0053997e94fe7fffd7d83c78cf0b1b2333ee7f
      https://github.com/wesnoth/wesnoth/commit/ea0053997e94fe7fffd7d83c78cf0b1b2333ee7f
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

  Changed paths:
    M src/actions/undo_action.hpp
    M src/actions/undo_dismiss_action.hpp
    M src/ai/default/recruitment.hpp
    M src/gui/dialogs/multiplayer/mp_staging.hpp
    M src/gui/dialogs/wml_message.hpp
    M src/gui/widgets/chatbox.hpp
    M src/play_controller.hpp
    M src/replay_controller.hpp
    M src/synced_context.hpp

  Log Message:
  -----------
  Remove unneeded ; at end of functions


  Commit: 37510d9c5f115aeaeddf0fbfd8188127fc453cfc
      https://github.com/wesnoth/wesnoth/commit/37510d9c5f115aeaeddf0fbfd8188127fc453cfc
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

  Changed paths:
    M src/image_modifications.cpp

  Log Message:
  -----------
  Use explicit cast to double instead of implicit conversion


  Commit: 78764f85476418fccda6466a02409fa719daed48
      https://github.com/wesnoth/wesnoth/commit/78764f85476418fccda6466a02409fa719daed48
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

  Changed paths:
    M src/lexical_cast.hpp

  Log Message:
  -----------
  Suppress warning about possibly uninitialized by initializing


  Commit: 8953f2aa0f7d7f559ff4a8acb5fe1fb049e8c16b
      https://github.com/wesnoth/wesnoth/commit/8953f2aa0f7d7f559ff4a8acb5fe1fb049e8c16b
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_audio.cpp

  Log Message:
  -----------
  Correct float/double literal causing implicit conversion


  Commit: 383530383ac53156d3a7f93cb626f6ece1ba6d68
      https://github.com/wesnoth/wesnoth/commit/383530383ac53156d3a7f93cb626f6ece1ba6d68
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

  Changed paths:
    M src/CMakeLists.txt

  Log Message:
  -----------
  Fix campaignd missing libcrypto for CMake/clang


  Commit: e5d678b69f89ca97caffa00f24a50c016a9687bb
      https://github.com/wesnoth/wesnoth/commit/e5d678b69f89ca97caffa00f24a50c016a9687bb
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

  Changed paths:
    M src/actions/create.hpp
    M src/config_attribute_value.hpp
    M src/font/text.hpp
    M src/font/text_formatting.hpp
    M src/formula/variant_value.hpp
    M src/game_events/menu_item.hpp
    M src/game_events/wmi_manager.hpp
    M src/game_initialization/connect_engine.hpp
    M src/game_initialization/depcheck.hpp
    M src/gui/core/event/dispatcher.hpp
    M src/gui/core/event/dispatcher_private.hpp
    M src/gui/dialogs/addon/connect.hpp
    M src/gui/dialogs/campaign_difficulty.hpp
    M src/gui/dialogs/modal_dialog.hpp
    M src/gui/dialogs/modeless_dialog.hpp
    M src/gui/widgets/grid.hpp
    M src/gui/widgets/multimenu_button.hpp
    M src/gui/widgets/scrollbar_container.hpp
    M src/gui/widgets/settings.hpp
    M src/gui/widgets/stacked_widget.hpp
    M src/gui/widgets/tree_view_node.hpp
    M src/gui/widgets/window.hpp
    M src/hotkey/hotkey_item.hpp
    M src/serialization/unicode.hpp
    M src/server/game.hpp
    M src/synced_user_choice.hpp
    M src/terrain/filter.hpp
    M src/terrain/translation.cpp
    M src/terrain/translation.hpp
    M src/units/unit.hpp
    M src/utils/math.hpp
    M src/utils/name_generator_factory.hpp
    M src/video.hpp
    M src/whiteboard/manager.hpp

  Log Message:
  -----------
  Correct documentation comments for pedantic clang

It appears clang 4.0 now checks documenation comments


  Commit: f1fe86ab5f890bcde696a119247264377deeb3ee
      https://github.com/wesnoth/wesnoth/commit/f1fe86ab5f890bcde696a119247264377deeb3ee
  Author: Celtic Minstrel <CelticMinstrel at users.noreply.github.com>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

  Changed paths:
    M src/CMakeLists.txt
    M src/actions/create.hpp
    M src/actions/undo_action.hpp
    M src/actions/undo_dismiss_action.hpp
    M src/ai/default/recruitment.hpp
    M src/config_attribute_value.hpp
    M src/font/text.hpp
    M src/font/text_formatting.hpp
    M src/formula/variant_value.hpp
    M src/game_events/menu_item.hpp
    M src/game_events/wmi_manager.hpp
    M src/game_initialization/connect_engine.hpp
    M src/game_initialization/depcheck.hpp
    M src/gui/core/event/dispatcher.hpp
    M src/gui/core/event/dispatcher_private.hpp
    M src/gui/dialogs/addon/connect.hpp
    M src/gui/dialogs/campaign_difficulty.hpp
    M src/gui/dialogs/modal_dialog.hpp
    M src/gui/dialogs/modeless_dialog.hpp
    M src/gui/dialogs/multiplayer/mp_staging.hpp
    M src/gui/dialogs/wml_message.hpp
    M src/gui/widgets/chatbox.hpp
    M src/gui/widgets/grid.hpp
    M src/gui/widgets/multimenu_button.hpp
    M src/gui/widgets/scrollbar_container.hpp
    M src/gui/widgets/settings.hpp
    M src/gui/widgets/stacked_widget.hpp
    M src/gui/widgets/tree_view_node.hpp
    M src/gui/widgets/window.hpp
    M src/hotkey/hotkey_item.hpp
    M src/image_modifications.cpp
    M src/lexical_cast.hpp
    M src/play_controller.hpp
    M src/replay_controller.hpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_audio.cpp
    M src/serialization/unicode.hpp
    M src/server/game.hpp
    M src/synced_context.hpp
    M src/synced_user_choice.hpp
    M src/terrain/filter.hpp
    M src/terrain/translation.cpp
    M src/terrain/translation.hpp
    M src/units/unit.hpp
    M src/utils/math.hpp
    M src/utils/name_generator_factory.hpp
    M src/video.hpp
    M src/whiteboard/manager.hpp

  Log Message:
  -----------
  Merge pull request #1811 from GregoryLundberg/GL_CMake_clang

Fix Lua for CMake with clang

Fixes #1669


Compare: https://github.com/wesnoth/wesnoth/compare/5c4db6afded5...f1fe86ab5f89


More information about the Commits mailing list