FrikQCC bug

Discuss programming topics for any language, any source base. If it is programming related but doesn't fit in one of the below categories, it goes here.
Post Reply
frag.machine
Posts: 2126
Joined: Sat Nov 25, 2006 1:49 pm

FrikQCC bug

Post by frag.machine »

I was studying frikqcc sources and when I tried to compiled it got this error:

Code: Select all

1>Compiling...
1>Qcc.c
1>.\Qcc.c(625) : error C2065: 'plock' : undeclared identifier
1>.\Qcc.c(625) : error C2065: 'blah' : undeclared identifier
Looking into the source I found this:

Code: Select all

char *PR_GlobalStringNoContents (gofs_t ofs)
{
	int		i;
	def_t	*def;
	void	*val;
	static char	line[128];
			plock=blah;
(...)
Looks like something used for tests that sliped in the public release. AFAIK it's safe to comment it, and the source compiles just fine.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
Post Reply