mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Work around strange internal compiler error with gcc 8.2.0...
git-svn-id: https://svn.eduke32.com/eduke32@6965 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f1cedd03f4
commit
f8fc87db78
2 changed files with 8 additions and 6 deletions
|
@ -9,10 +9,12 @@ extern int myconnectindex, numplayers;
|
|||
extern int connecthead, connectpoint2[MAXMULTIPLAYERS];
|
||||
extern unsigned char syncstate;
|
||||
|
||||
int initmultiplayersparms(int argc, char const * const argv[]);
|
||||
#if 0
|
||||
int initmultiplayersparms(int argc, char const * const * argv);
|
||||
int initmultiplayerscycle(void);
|
||||
void initmultiplayers(int argc, char const * const * argv, unsigned char damultioption, unsigned char dacomrateoption, unsigned char dapriority);
|
||||
#endif
|
||||
|
||||
void initmultiplayers(int argc, char const * const argv[], unsigned char damultioption, unsigned char dacomrateoption, unsigned char dapriority);
|
||||
void setpackettimeout(int datimeoutcount, int daresendagaincount);
|
||||
void uninitmultiplayers(void);
|
||||
void sendlogon(void);
|
||||
|
|
|
@ -18,8 +18,8 @@ int isvalidipaddress (const char *st)
|
|||
UNREFERENCED_PARAMETER(st);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int initmultiplayersparms(int argc, char const * const argv[])
|
||||
#if 0 // XXX XXX XXX: causes internal compiler error with gcc 8.2.0, wtf?
|
||||
int initmultiplayersparms(int argc, char const * const * argv)
|
||||
{
|
||||
UNREFERENCED_PARAMETER(argc);
|
||||
UNREFERENCED_PARAMETER(argv);
|
||||
|
@ -31,7 +31,7 @@ int initmultiplayerscycle(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void initmultiplayers(int argc, char const * const argv[], unsigned char damultioption, unsigned char dacomrateoption, unsigned char dapriority)
|
||||
void initmultiplayers(int argc, char const * const * argv, unsigned char damultioption, unsigned char dacomrateoption, unsigned char dapriority)
|
||||
{
|
||||
UNREFERENCED_PARAMETER(argc);
|
||||
UNREFERENCED_PARAMETER(argv);
|
||||
|
@ -42,7 +42,7 @@ void initmultiplayers(int argc, char const * const argv[], unsigned char damulti
|
|||
numplayers = 1; myconnectindex = 0;
|
||||
connecthead = 0; connectpoint2[0] = -1;
|
||||
}
|
||||
|
||||
#endif
|
||||
void setpackettimeout(int datimeoutcount, int daresendagaincount)
|
||||
{
|
||||
UNREFERENCED_PARAMETER(datimeoutcount);
|
||||
|
|
Loading…
Reference in a new issue