[sldev] weird llviewerinventory.h include problem

Lev Neiman lev.neiman at gmail.com
Mon Apr 6 13:31:36 PDT 2009


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.
Here is what they are:

1>c:\documents and settings\entheogen\my documents\school\vital lab\3d
ide\new sl en\sl_1_22_11\linden\indra\llcommon\llstringtable.h(68) : error
C2220: warning treated as error - no 'object' file generated
1>c:\documents and settings\entheogen\my documents\school\vital lab\3d
ide\new sl en\sl_1_22_11\linden\indra\llcommon\llstringtable.h(68) : warning
C4996: 'strncpy': This function or variable may be unsafe. Consider using
strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See
online help for details.
1>C:\Documents and Settings\Entheogen\My Documents\school\VITAL Lab\3d
IDE\new SL EN\sl_1_22_11\linden\indra\llxml\llxmlnode.h(151) : error C2061:
syntax error : identifier 'LLFILE'
1>C:\Documents and Settings\Entheogen\My Documents\school\VITAL Lab\3d
IDE\new SL EN\sl_1_22_11\linden\indra\llxml\llxmlnode.h(152) : error C2061:
syntax error : identifier 'LLFILE'
1>C:\Documents and Settings\Entheogen\My Documents\school\VITAL Lab\3d
IDE\new SL EN\sl_1_22_11\linden\indra\llxml\llxmlnode.h(152) : error C2059:
syntax error : ')'
1>C:\Documents and Settings\Entheogen\My Documents\school\VITAL Lab\3d
IDE\new SL EN\sl_1_22_11\linden\indra\llxml\llxmlnode.h(152) : error C2143:
syntax error : missing ')' before ';'
1>c:\documents and settings\entheogen\my documents\school\vital lab\3d
ide\new sl en\sl_1_22_11\linden\indra\llinventory\llpermissions.h(305) :
error C2061: syntax error : identifier 'LLFILE'
1>c:\documents and settings\entheogen\my documents\school\vital lab\3d
ide\new sl en\sl_1_22_11\linden\indra\llinventory\llpermissions.h(306) :
error C2061: syntax error : identifier 'LLFILE'
1>c:\documents and settings\entheogen\my documents\school\vital lab\3d
ide\new sl en\sl_1_22_11\linden\indra\llinventory\llpermissions.h(364) :
fatal error C1903: unable to recover from previous error(s); stopping
compilation

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

Any help is highly appreciated.

Sincerely,
   Lev A. Neiman.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20090406/ee2d8fc3/attachment.htm 


More information about the SLDev mailing list