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 4:52 PM, Dirk Moerenhout <[email protected]> wrote: > It stops here for sure: > > 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. > > As you can see both of these refer to line 68. The first says it > treats the warning as an error and will hence not give an object file. > The second gives you the warning and possible solutions. > > Dirk Moerenhout aka Blakar Ogre > > On Mon, Apr 6, 2009 at 10:31 PM, Lev Neiman <[email protected]> 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. > > 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. > > > > _______________________________________________ > > Policies and (un)subscribe information available here: > > http://wiki.secondlife.com/wiki/SLDev > > Please read the policies before posting to keep unmoderated posting > > privileges > > >
_______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/SLDev Please read the policies before posting to keep unmoderated posting privileges
