i'm having trouble compiling quake 3 arena with visual C++ 2005 express edition. It giving the following errors:
This occurs with the following piece of code. This is just a snippet. it happens with all scripts.c:\program files\microsoft visual studio 8\vc\include\cstdio(26) : error C2143: syntax error : missing '{' before ':'
c:\program files\microsoft visual studio 8\vc\include\cstdio(26) : error C2059: syntax error : ':'
Code: Select all
#ifndef RC_INVOKED
#if _GLOBAL_USING
_STD_BEGIN
using ::size_t; using ::fpos_t; using ::FILE;
using ::clearerr; using ::fclose; using ::feof;
using ::ferror; using ::fflush; using ::fgetc;
using ::fgetpos; using ::fgets; using ::fopen;
using ::fprintf; using ::fputc; using ::fputs;
using ::fread; using ::freopen; using ::fscanf;
using ::fseek; using ::fsetpos; using ::ftell;
using ::fwrite; using ::getc; using ::getchar;
using ::gets; using ::perror;
using ::putc; using ::putchar;
using ::printf; using ::puts; using ::remove;
using ::rename; using ::rewind; using ::scanf;
using ::setbuf; using ::setvbuf; using ::sprintf;
using ::sscanf; using ::tmpfile; using ::tmpnam;
using ::ungetc; using ::vfprintf; using ::vprintf;
using ::vsprintf;
_STD_END
#endif /* _GLOBAL_USING */
#endif /* RC_INVOKED */

EDIT: The end of the compilation output states:
Code: Select all
c:\program files\microsoft visual studio 8\vc\include\cstdlib(21) : fatal error C1003: error count exceeds 100; stopping compilation
Generating Code...
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '.\Debug_TA\win_gamma.sbr': No such file or directory
Build log was saved at "file://c:\Documents and Settings\Thom.T-001\Mijn documenten\downloads\Games\quake3-1.32b-source\quake3-1.32b\code\renderer\Debug_TA\BuildLog.htm"
renderer - 205 error(s), 0 warning(s)