[sldev] weird llviewerinventory.h include problem

Mike Monkowski monkowsk at watson.ibm.com
Mon Apr 6 15:03:31 PDT 2009


This may be a silly question, but if it compiles fine without the 
#include, why are you inserting the #include?  And why do you have an 
otherwise empty .h file that just has this include in it?  Where are you 
using this otherwise empty file?

Mike

Lev Neiman wrote:
> Nope, that is not the problem.  I disabled warnings as errors and it 
> complains about errors in llxmlnode and llpermisions.  Please notice 
> that these problems are only present if i include llviewerinventory.h. 
>  Also I have not modified the files that generate these errors in any 
> way, they are official source code release.
> Sincerely,
>    Lev A. Neiman.
...
>     On Mon, Apr 6, 2009 at 10:31 PM, Lev Neiman <lev.neiman at gmail.com
>     <mailto:lev.neiman at gmail.com>> wrote:
>      > Hello.  I have successfully downloaded 1.22.11 source code and
>     compiled it
>      > using VS2005 on WinXP machine.  However I have ran into a weird
>     problem.  If
>      > I include a #include "llviewerinventory.h" it generates a whole
>     bunch of
>      > error messages in compiler.
...
>      > If I omitt the include then everything compiles fine.  I am
>     talking about
>      > including this just from an otherwise empty .h file (with
>     macroguards).  It
>      > wasn't empty originally but I commented everything out to find
>     source of the
>      > problem, and the source is definetly this line that
>      > includes llviewerinventory.h


More information about the SLDev mailing list