Soldier Of Fortune 2 Forum Index
» General Chat » Source Code: Warning Conversion |
|
Author |
Message |
Punisher
Administrator

In Game: The Punisher Gender:  Joined: May 04, 2012 Last Visit: Nov 01, 2019 Age: 22 Posts: 740
Reputation: 4027   votes: 3 Medals: 2 (View more...)
Status: Offline
|
Posted: Thu Dec 18, 2014 8:49 pm
Post subject: Source Code: Warning Conversion |
|
|
Hello guys,
So i've been thinking about checking the rocmod source code again, mainly because of a school project i need to do, anyhow when everything was installed correctly and extracting the rocmod 2.1c source code i was trying to check if it would compile correctly.
So as ussual the cmd prompt will show up but after 5 sec or so it said the following:
Quote: |
../../ui/ui_shared.c:7670: warning conversion from 'pointer to void' to 'pointer to qboolean function<pointer>' is compiler dependent
|
Anyone an idea what's wrong, it occured while compiling cgame folder on multiple lines:
compiling bat file
As far as i know ' void ' is a blank result and boolean only has 2 values which are True or False, dunno if qboolean is any difference.
Anyhow appreciate if someone could help it. |
Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist
<a><img></a>
<a><img></a>
Last edited by Punisher on Fri Dec 19, 2014 2:50 pm; edited 1 time in total |
|
 |
|
 |
Sponsor
|
|
 |
jantsux
Pro Poster

Gender:  Joined: Jan 31, 2013 Last Visit: May 06, 2018 Age: 27 Posts: 34
Reputation: 425.9   votes: 2 Medals: None
Status: Offline
|
Posted: Thu Dec 18, 2014 10:04 pm
Post subject: Re: Source Code: Warning Conversion |
|
|
Send that exact line (7670) |
|
|
 |
|
 |
Punisher
Administrator

In Game: The Punisher Gender:  Joined: May 04, 2012 Last Visit: Nov 01, 2019 Age: 22 Posts: 740
Reputation: 4027   votes: 3 Medals: 2 (View more...)
Status: Offline
|
Posted: Fri Dec 19, 2014 2:47 pm
Post subject: Re: Source Code: Warning Conversion |
|
|
on line 7670
{{ NULL, }, NULL }
on line 6942 ( Same )
{{ NULL, NULL }, NULL }
on line 3212
captureFunc = NULL;
on line 30
static void (*captureFunc) (void *p) = NULL;
Just noticed while compiling on line 5082 @ undeclared identifier
if(item->window.ownerDrawFlags & CG_TEAMCOLOR ){
on line 646 ( same undeclared identifier )
if(w->ownerDrawFlags & CG_TEAMCOLOR ){
Previous times when i compiled it it worked just normal, now it gives some errors. |
Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist
<a><img></a>
<a><img></a> |
|
 |
|
 |
Punisher
Administrator

In Game: The Punisher Gender:  Joined: May 04, 2012 Last Visit: Nov 01, 2019 Age: 22 Posts: 740
Reputation: 4027   votes: 3 Medals: 2 (View more...)
Status: Offline
|
|
 |
|
 |
Sponsor
|
|
 |
Punisher
Administrator

In Game: The Punisher Gender:  Joined: May 04, 2012 Last Visit: Nov 01, 2019 Age: 22 Posts: 740
Reputation: 4027   votes: 3 Medals: 2 (View more...)
Status: Offline
|
|
 |
|
 |
Punisher
Administrator

In Game: The Punisher Gender:  Joined: May 04, 2012 Last Visit: Nov 01, 2019 Age: 22 Posts: 740
Reputation: 4027   votes: 3 Medals: 2 (View more...)
Status: Offline
|
|
 |
|
 |
|