Go to file
Kp fd0238cb6b Silence gcc-8 -Wcast-function-type in except.cpp
gcc-8 adds a new warning controlled by -Wcast-function-type, which is
implied on by Rebirth's default options.  This new warning rejects
attempts to reinterpret_cast between function pointer types.  While this
might provide some value when the function pointer was derived by taking
the address of a properly declared function provided elsewhere in the
same program, it is wrong when the function pointer is returned by an
external library call, such as GetProcAddress, which always returns a
placeholder type instead of the actual type of the target function.
Switch to using a union with type-punning, which achieves the same
effect as the cast, but does not count as a cast, and therefore does not
provoke the warning.

References: <https://github.com/dxx-rebirth/dxx-rebirth/issues/388>
2018-07-15 04:43:55 +00:00
common Silence gcc-8 -Wcast-function-type in except.cpp 2018-07-15 04:43:55 +00:00
contrib Update Gentoo ebuild to current stable-0.60.x 2018-06-24 18:05:48 +00:00
d1x-rebirth Make eclip_num unsigned 2018-03-31 21:53:01 +00:00
d2x-rebirth Adjust physfsrwops.cpp for SDL2 2018-06-27 03:34:34 +00:00
Documentation Require support for reference qualified methods 2016-12-10 17:51:07 +00:00
similar Move Redbook audio behind DXX_USE_SDL_REDBOOK_AUDIO 2018-07-14 17:23:15 +00:00
.gitattributes Add experimental Windows manifest 2017-08-02 02:49:12 +00:00
.gitignore ignore XCode user data 2014-12-06 22:43:12 -08:00
COPYING.txt corrected typo in COPYING.txt (it's to its) 2014-06-06 13:18:52 +02:00
GPL-3.txt Changed custom D1X license to GPLv3 2014-06-01 19:55:23 +02:00
INSTALL.markdown Restore GOG reference in INSTALL.markdown 2017-11-25 01:56:51 +00:00
ISSUE_TEMPLATE.md Adjust issue template formatting 2018-04-28 04:36:11 +00:00
SConstruct Move Redbook audio behind DXX_USE_SDL_REDBOOK_AUDIO 2018-07-14 17:23:15 +00:00