Bug 2486 - Compiling q3asm in MS VC
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: 1.33 SVN
Hardware: PC Windows 2000
: P2 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL: http://svn.icculus.org/quake3/trunk/c...
Depends on:
Blocks:
 
Reported: 2005-11-06 19:28 EST by Shane
Modified: 2007-05-21 11:24:30 EDT
0 users

See Also:



Description Shane 2005-11-06 19:28:55 EST
q3asm.exe can not be built with the MS compiler.

I'm unsure of the prefered way to correct it with #defines.

The compiler doesn't understand 'long long' (q3asm.c:447) or 'atoll()' (q3asm.c:453). MS compilers use '__int64' and '_atoi64()' respectivley. Upon making this change q3asm builds fine.

The function containing these lines is a bit of a WIN32 hack itself, perhaps this info will present a better way of doing the whole thing.
Comment 1 Tim Angus 2005-11-15 12:03:01 EST
Try 358.
Comment 2 Ryan C. Gordon 2007-05-21 11:24:30 EDT
Setting a QA contact on all ioquake3 bugs, even resolved ones. Sorry if you get a flood of email from this, it should only happen once. Apologies for the incovenience.

--ryan.