[Scummvm-cvs-logs] scummvm branch-1-6 -> db42dee7332c68f0261c1e62bf5a28c0fb23a2d9
digitall
dgturner at iee.org
Fri Aug 16 01:46:03 CEST 2013
This automated email contains information about 3 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e875e900a2 COMMON: Move definition of math constants to scummsys header.
35e08d87e9 COMMON: Add comment explaining reason for defining math constants.
db42dee733 COMMON: Define all Unix98/BSD math constants in scummsys.h.
Commit: e875e900a299c7adab32b87474b5f80c94f3651a
https://github.com/scummvm/scummvm/commit/e875e900a299c7adab32b87474b5f80c94f3651a
Author: D G Turner (digitall at scummvm.org)
Date: 2013-08-15T16:48:01-07:00
Commit Message:
COMMON: Move definition of math constants to scummsys header.
This should have no effect on common/math.h as scummsys is included at
the top anyway, but this will fix compilation on some toolchains when
strict ANSI language compliance is enabled i.e. -std=c++11, rather than
-std=gnu11.
This causes an issue as a side effect is to set a guard which disables
various non-standard defines in the system headers i.e. the M_PI and
M_SQRT1_2 constant definitions in the MinGW x86_64 toolchain on
buildbot.
By moving this into scummsys.h after the point of system math.h
inclusion, we can ensure that M_PI etc. are always present.
Changed paths:
common/math.h
common/scummsys.h
Commit: 35e08d87e95e470997db3d0b3f72cc75cca7d068
https://github.com/scummvm/scummvm/commit/35e08d87e95e470997db3d0b3f72cc75cca7d068
Author: D G Turner (digitall at scummvm.org)
Date: 2013-08-15T16:48:12-07:00
Commit Message:
COMMON: Add comment explaining reason for defining math constants.
Changed paths:
common/scummsys.h
Commit: db42dee7332c68f0261c1e62bf5a28c0fb23a2d9
https://github.com/scummvm/scummvm/commit/db42dee7332c68f0261c1e62bf5a28c0fb23a2d9
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2013-08-15T16:48:23-07:00
Commit Message:
COMMON: Define all Unix98/BSD math constants in scummsys.h.
This should fix compilation on mingw64 with --enable-c++11 and also make sure
the constants are present on other systems for the uncommon case they might be
missing.
Changed paths:
common/scummsys.h
More information about the Scummvm-git-logs
mailing list