nel-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nel] // CRGBA namespace/syntax err? //


From: julian
Subject: Re: [Nel] // CRGBA namespace/syntax err? //
Date: Thu, 27 Feb 2003 01:40:24 +1100

hi list!

i grabbed the new cvs today and recompiled nel. i added '::CLog' to the line 
219 in /usr/local/include/nel/3d/u_text_context.h as follows: 

//-->

virtual void   setStringColor(uint32 i, CLog::CRGBA newCol)= 0;

//<--

compiling snowballs then gives this error:

//-->

In file included from animation.cpp:48:
/usr/local/include/nel/3d/u_text_context.h:219: type specifier omitted for 
   parameter `CLog'
   /usr/local/include/nel/3d/u_text_context.h:219: syntax error before `::' 
token
   make[3]: *** [animation.o] Error 1
   make[3]: Leaving directory `/home/delire/code/snowballs2/client/src'
   make[2]: *** [all-recursive] Error 1
   make[2]: Leaving directory `/home/delire/code/snowballs2/client'
   make[1]: *** [all-recursive] Error 1
   make[1]: Leaving directory `/home/delire/code/snowballs2'
   make: *** [all] Error 2
   dropWorld:/home/delire/code/snowballs2# 
                                             
//<--

i may not have followed your advice [below] correctly, but i also tried the 
'NLMISC:CRGBA' and just 'CRGBA' in that same line with similar syntax errors.

cheers,

julian oliver

http://selectparks.net
   



On Mon, 24 Feb 2003 14:06:57 +0100
"Vianney Lecroart" <address@hidden> wrote:

//> //-->
//> 
//>  commands.cpp:110: `message' undeclared (first use this function)
//>   commands.cpp: At global scope:
//>   commands.cpp:117: cannot declare variable `CommandsDisplayer' to be
//of
//> type `
//>      CCommandsDisplayer'
//>      commands.cpp:117:   because the following virtual functions are
//> abstract:
//>      /usr/local/include/nel/misc/displayer.h:68:     virtual void
//>         NLMISC::IDisplayer::doDisplay(const
//NLMISC::CLog::TDisplayInfo&,
//> const
//>        char*)
//>        make[3]: *** [commands.o] Error 1
//>        make[3]: Leaving directory
//> `/home/delire/code/snowballs2/client/src'
//>        make[2]: *** [all-recursive] Error 1
//>        make[2]: Leaving directory
//`/home/delire/code/snowballs2/client'
//>        make[1]: *** [all-recursive] Error 1
//>        make[1]: Leaving directory `/home/delire/code/snowballs2'
//>        make: *** [all] Error 2
//> 
//> //<--
//
//I Fixed a problem on this linue (CDisplayInfos are now in CLog class so
//you have to add CLog:: before.
//
//I commited modification, (available tomorrow morning)
//
//Vianney
//
//
//
//_______________________________________________
//Nel mailing list
//address@hidden
//http://mail.nongnu.org/mailman/listinfo/nel-all
//
//




reply via email to

[Prev in Thread] Current Thread [Next in Thread]