Page 1 of 1

FTEQW 5133 - QuakeC bug

Posted: Sat Dec 15, 2018 10:08 pm
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.

Re: FTEQW 5133 - QuakeC bug

Posted: Sun Dec 16, 2018 1:06 pm
by Spike
Issues related to invalid cvar names should have been fixed by r5309. r5367 is current (r5133 is dated as 2017-07-31).

Re: FTEQW 5133 - QuakeC bug

Posted: Mon Dec 17, 2018 2:00 am
by frag.machine
Thanks Spike, I'll update it.

Don't you think this would deserve a warning from FTEQCC ?