FTEQW 5133 - QuakeC bug

Discuss programming topics for the various GPL'd game engine sources.
Post Reply
frag.machine
Posts: 2126
Joined: Sat Nov 25, 2006 1:49 pm

FTEQW 5133 - QuakeC bug

Post by frag.machine »

So, hum... Due a typo I stumbled on a silly QuakeC bug in FTEQW 5133.

I am too dumb to figure out how to open a ticket on Sourceforge and I haven't tested it with the latest release (I am lazy too), so there is:

Code: Select all

if (cvar ("") > 0) { /* some fancy code goes here */ }
FTEQCC-gui gladly compiled this without any errors or warnings. Resulting progs.dat makes FTE crash. No logs, just an ugly, regular Windows crash.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
Spike
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK
Contact:

Re: FTEQW 5133 - QuakeC bug

Post by Spike »

Issues related to invalid cvar names should have been fixed by r5309. r5367 is current (r5133 is dated as 2017-07-31).
frag.machine
Posts: 2126
Joined: Sat Nov 25, 2006 1:49 pm

Re: FTEQW 5133 - QuakeC bug

Post by frag.machine »

Thanks Spike, I'll update it.

Don't you think this would deserve a warning from FTEQCC ?
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
Post Reply