Problems with compiling nexuiz (from svn) using fteqcc

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Problems with compiling nexuiz (from svn) using fteqcc

Postby AU » Sat Jan 19, 2008 11:31 am

When I try to compile nexuiz from svn using fteqcc it gives errors. Fteqcc doesn't understand "?:" conditional operator. It is possible to convert all the ?: ops to "if - else"-es but that's not a good way (there are too much of them to convert manually).
What fteqcc should I use, or what options specify?
AU
Advanced member
 
Posts: 60
Joined: Wed Jan 02, 2008 7:37 pm

Postby divVerent » Sat Jan 19, 2008 11:44 am

Just use a current fteqcc, and it will work. Check out fteqcc source from svn for that, or use the fteqcc included in http://emptyset.endoftheinternet.org/~p ... ntrunk.zip
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby AU » Sat Jan 19, 2008 11:50 am

Searched a lot for fteqcc svn repo but couldn't find it :) Can you tell me where it is exactly....
AU
Advanced member
 
Posts: 60
Joined: Wed Jan 02, 2008 7:37 pm

Postby AU » Sat Jan 19, 2008 12:12 pm

As I see fteqcc belongs to the FTEQW project :) , but it seems my version is the last one - 2770. What version do developers use?
AU
Advanced member
 
Posts: 60
Joined: Wed Jan 02, 2008 7:37 pm

Postby divVerent » Sat Jan 19, 2008 12:37 pm

2770 is not current. current is 2861...
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby AU » Sat Jan 19, 2008 1:48 pm

Yea, right :) Checked it. And where is the fteqcc in fteqw trunk/ (or somewhere else).... and how to compile it if it's not a simple matter of ./configure make. Btw, thx for attention :)

PS. The svn repo is on sourceforge - is it correct place?
AU
Advanced member
 
Posts: 60
Joined: Wed Jan 02, 2008 7:37 pm

Postby KadaverJack » Sat Jan 19, 2008 1:54 pm

KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby AU » Sun Jan 20, 2008 7:34 am

Thx very much, found it at last :D
AU
Advanced member
 
Posts: 60
Joined: Wed Jan 02, 2008 7:37 pm

Postby AU » Mon Jan 21, 2008 8:24 am

...... but the problem remains. data/qcsrc/server compiled correctly - without even warnings, but .../menu compilation gives the following:
Code: Select all
....
....
compiling ../common/util.qc
in function db_load (line 41),
../common/util.qc:265: warning: while (string) can result in bizzare behaviour
../common/util.qc:276: warning: while (string) can result in bizzare behaviour
in function db_get (line 43),
../common/util.qc:296: error: Unknown value "infoget".
../common/util.qc:297: warning: 'db_get' returned __variant, expected string
in function db_put (line 44),
../common/util.qc:303: error: Unknown value "infoadd".
../common/util.qc:303: error: type mismatch on parm 3 - (__variant should be string)
mbuiltin.qc:263:    bufstr_set  is defined here

************ ERROR ************
Errors have occured

Error in ../common/util.qc on line 354

And that was the end of compilation output. The ../common/util.qc has 352 lines....

Can it be that svn data was downloaded corrupted, or there is another problem?
AU
Advanced member
 
Posts: 60
Joined: Wed Jan 02, 2008 7:37 pm

Postby divVerent » Mon Jan 21, 2008 9:23 am

It is my fault, I broke the scmenu (which I will delete soon anyway). Compile menu-div0test instead.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Next

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron