Go to file
Giel van Schijndel 6bdbda9343 Allow code passing and retrieving of enums as vararg parameters in C++ as well.
In C++ enums are treated differently from integers in some cases, causing GCC to emit some rather nasty abort()-like code (x86/x64 instruction "ud2a") when used as the type for va_arg().

This was the compiler message generated:
{{{
stack.c:339: warning: ‘INTERP_TYPE’ is promoted to ‘int’ when passed through ‘...’
stack.c:339: note: (so you should pass ‘int’ not ‘INTERP_TYPE’ to ‘va_arg’)
stack.c:339: note: if this code is reached, the program will abort
}}}

NOTE: Compiling as C++ now works (as does the produced code), using: {{{./configure CC=g++ CFLAGS=-fpermissive --enable-debug=relaxed}}}

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6957 4a71c877-e1ca-e34f-864e-861f7616d084
2009-04-06 13:09:10 +02:00
build_tools Fix some spelling errors in debug messages and comments. Patch by Paul Wise <pabs3>. 2009-03-11 11:51:40 +00:00
data Add radar detector turret to the game. It will detect and target enemy sensors up to twice their 2009-04-06 13:09:09 +02:00
doc Add a document describing design decisions and the current status of the SQLization of the stats 2009-03-30 16:10:56 +02:00
icons * Wrap all file lists in the automake and win32 makefiles across lines such that there's only one file on each line 2008-10-13 13:04:37 +00:00
lib Allow code passing and retrieving of enums as vararg parameters in C++ as well. 2009-04-06 13:09:10 +02:00
m4 Bump copyright 2009-02-10 18:01:48 +00:00
macosx Add Pixman to the Xcode project. Currently unused/untested. 2009-04-06 13:09:08 +02:00
makerules Add video playback support: 2008-10-08 18:24:19 +00:00
pkg Set svn:eol-style native and convert the line endings to \n. 2009-03-21 01:53:25 +01:00
po update-po 2009-03-14 23:32:39 +00:00
src Add radar detector turret to the game. It will detect and target enemy sensors up to twice their 2009-04-06 13:09:09 +02:00
tests Slightly better documenting of code and error messages 2009-03-30 16:10:57 +02:00
tools Prevent leaking memory in mapFree by deallocating all memory we allocated 2009-03-30 16:10:58 +02:00
win32 Brace for impact, this is the new terrain renderer! 2009-02-21 23:35:21 +00:00
.gitignore Add a document describing design decisions and the current status of the SQLization of the stats 2009-03-30 16:10:56 +02:00
AUTHORS Add myself to AUTHORS 2009-04-03 18:53:12 +02:00
COMPILE Note that a "privileged user" usually is "root" 2008-04-26 14:33:32 +00:00
COPYING Create final repository structure. 2007-06-28 17:47:08 +00:00
COPYING.NONGPL Brace for impact, this is the new terrain renderer! 2009-02-21 23:35:21 +00:00
COPYING.README Warzone 2100, I have the honour to release you from any license unclarities. 2008-06-11 16:38:04 +00:00
ChangeLog New map 4c-Urban-Chaos by Mysteryem. 2009-03-09 18:30:41 +00:00
Doxyfile Exclude config-macosx.h and exceptionhandler/include/* from the Doxygen documentation 2008-11-16 16:28:06 +00:00
Makefile.am Fix missing files in makefiles so that 'make dist' can be run again. 2009-03-07 18:09:58 +00:00
autogen.sh Move the version checks for pkg-config, xgettext and msgfmt out of autogen.sh and into configure.ac 2008-09-28 17:35:56 +00:00
autorevision.conf * In revision information extraction class RevSVNVersionQuery (uses "svnversion"), ignore its output if the word "exported" is encountered (that way compiling from an exported working copy is possible also) 2007-11-05 18:43:30 +00:00
config.rpath Port r3878 and r3879 from trunk/ 2008-03-01 13:04:16 +00:00
configure.ac Add new --enable-debug option "g++" which compiles Warzone code using g++ compiler. 2009-03-30 16:10:58 +02:00
makefile.win32 Rename "raw" Makefiles to "win32" Makefiles 2008-07-06 14:29:04 +00:00
warzone2100.cbp Add video playback support: 2008-10-08 18:24:19 +00:00
wscript Fix "incompatible declarations" found by batched compiling. 2007-09-16 14:05:01 +00:00