[Commits] [wesnoth/wesnoth] a79dd0: Attempt to fix strict ansi builds

GitHub noreply at github.com
Mon Dec 28 16:43:50 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a79dd0df9ba4c5a7f3980546a6a0d44580135ce2
      https://github.com/wesnoth/wesnoth/commit/a79dd0df9ba4c5a7f3980546a6a0d44580135ce2
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-12-28 (Mon, 28 Dec 2015)

  Changed paths:
    M src/lua/luaconf.h

  Log Message:
  -----------
  Attempt to fix strict ansi builds

We now asume IEEE754 when __STDC_IEC_559__ is defined, even when
__STRICT_ANSI__ is also defined. This should specially fix the travis builds
which seem to define __STRICT_ANSI__.


  Commit: cfca8cf201d4256ce7dacba154cd371cb687daae
      https://github.com/wesnoth/wesnoth/commit/cfca8cf201d4256ce7dacba154cd371cb687daae
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-12-28 (Mon, 28 Dec 2015)

  Changed paths:
    M src/lua/luaconf.h

  Log Message:
  -----------
  Fix luaL_checkinteger rounding

we now always use LUA_IEEE754TRICK to convert double to lua_number even
when lua_number is > 32 bits and LUA_IEEE754TRICK handles numbers with
more than 32 bits incorrectly. (I just assume noone want to deal with
integers > 2^32 in wesnoth anyway)


  Commit: 5b79d34de97df59308a03d81c8b0fd029610ed4d
      https://github.com/wesnoth/wesnoth/commit/5b79d34de97df59308a03d81c8b0fd029610ed4d
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-12-28 (Mon, 28 Dec 2015)

  Changed paths:
    M src/CMakeLists.txt
    M src/SConscript
    M src/scripting/lua_kernel_base.hpp
    A src/tests/test_lua.cpp

  Log Message:
  -----------
  Add unit test for correct lua rounding.

http://gna.org/bugs/?24223


  Commit: 745f587207aa678855a4676a483bbdca0552fd34
      https://github.com/wesnoth/wesnoth/commit/745f587207aa678855a4676a483bbdca0552fd34
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-12-28 (Mon, 28 Dec 2015)

  Changed paths:
    M src/wesnoth.cpp

  Log Message:
  -----------
  Check fpu rounding mode on non-windows too


Compare: https://github.com/wesnoth/wesnoth/compare/492408268727...745f587207aa


More information about the Commits mailing list