Forum

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.

Moderator: InsideQC Admins

FrikQCC bug

Postby frag.machine » Wed Sep 08, 2010 1:56 pm

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)
User avatar
frag.machine
 
Posts: 2090
Joined: Sat Nov 25, 2006 1:49 pm

Return to General Programming

Who is online

Users browsing this forum: No registered users and 1 guest