Page 1 of 1

FrikQCC bug

Posted: Wed Sep 08, 2010 1:56 pm
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.