raze-gles/polymer/eduke32
helixhorned 514a3bfd64 Prevent calling function pointers cast to an incompatible type.
Most often, this had happened when casting comparison functions for qsort()
like these: "int yax_cmpbunches(const int16_t *b1, const int16_t *b2)"
to a function pointer type expecting "const void *". Alas, this is undefined
behavior: see
http://blog.frama-c.com/index.php?post/2013/08/24/Function-pointers-in-C
and posts linked from it.

At least two cases have not been fixed:
- The savegame system maintains pointers which are either to data or a function in
  the generic "void *". This ought to be made into a union.
- Probably also:
  #define OSD_ALIAS     (int32_t (*)(const osdfuncparm_t*))0x1337

git-svn-id: https://svn.eduke32.com/eduke32@4068 1a8010ca-5511-0410-912e-c29ae57300e0
2013-09-21 13:38:44 +00:00
..
build Prevent calling function pointers cast to an incompatible type. 2013-09-21 13:38:44 +00:00
jit Lunatic: add LuaJIT's jit/bcsave.lua and headers for synthesis build preparation. 2013-08-11 15:28:45 +00:00
package a.m32: add 'moveselsects', moving them so that each sector's 1st pt is at (0,0). 2013-09-05 17:37:31 +00:00
platform Lunatic: add LuaJIT's jit/bcsave.lua and headers for synthesis build preparation. 2013-08-11 15:28:45 +00:00
rsrc Update Windows application manifests to allow GetVersionEx() to return Windows 8.1 on systems running Windows 8.1. Microsoft is pretty stupid sometimes. :/ 2013-08-31 04:58:07 +00:00
source Prevent calling function pointers cast to an incompatible type. 2013-09-21 13:38:44 +00:00
eduke32.sln Source code "cleanup," herein referred to as "rape" 2010-05-02 23:27:30 +00:00
eduke32.vcxproj Add Lunatic stuff to the Visual Studio project. This is just the file view in the IDE, not Lunatic compilation with MSVC! DONT_BUILD. 2013-08-24 22:55:23 +00:00
eduke32.vcxproj.filters Add Lunatic stuff to the Visual Studio project. This is just the file view in the IDE, not Lunatic compilation with MSVC! DONT_BUILD. 2013-08-24 22:55:23 +00:00
Makefile When building Lunatic from synthesis, tell LuaJIT to generate PE object files. 2013-08-18 21:14:37 +00:00
Makefile.common Add WIP x86_64 assembly texture mapping routines. 2013-09-21 13:37:31 +00:00
Makefile.deps Replace literal g_sounds[].m bits with enum constants. DONT_BUILD. 2013-09-08 20:18:56 +00:00
Makefile.msvc Dynamicsoundremap. 2013-06-01 06:55:30 +00:00