[Commits] [wesnoth/wesnoth] 676dd7: don't check __STRICT_ANSI__ in luaconf.h

GitHub noreply at github.com
Wed Dec 30 17:44:35 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 676dd75b62043fdbe072dbba887fb4609ff80ee5
      https://github.com/wesnoth/wesnoth/commit/676dd75b62043fdbe072dbba887fb4609ff80ee5
  Author: gfgtdf <tischpapier at gmail.com>
  Date:   2015-12-30 (Wed, 30 Dec 2015)

  Changed paths:
    M src/lua/luaconf.h

  Log Message:
  -----------
  don't check __STRICT_ANSI__ in luaconf.h

It was noticed that mutiple compilers define __STRICT_ANSI__ but still support IEEE754. So i removed this check, the lua code now just always assumes that IEEE754 is supported. This means that wesnoth might now give undefined behaviour/crashes on plattforms that dont support IEEE754.

A boost unit test was added before to check for these codes.





More information about the Commits mailing list