User:Paula Innis

From Second Life Wiki
Revision as of 02:03, 9 January 2007 by Paula Innis (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

After doing the following in VC2005 Express;

Set 'Treat wchar_t as Built-in Type' to No for llcommon,llwindow,llvfs,newview

  • In linden\indra\llcommon\llstringtable.h @ line 103
replace 'std' with 'stdext' (namespace moved)
  • In linden\indra\llcommon\llerror.h & linden\indra\win_updater\updater.cpp

adding something like;

#if LL_WINDOWS
# if (_MSC_VER >= 1400)
#  pragma warning(disable : 4996)
# endif
#endif
  • In linden\indra\llcommon\u64.cpp @line 36
char *aptr to const char *aptr
  • linden\indra\llprimitive\llprimitive.cpp @1200
exception_faces |= ((U64)1 << i);

other typecast fixes - all to do with time:)

  • linden\indra\test\llinventory.cpp @63
S32 creation = (S32)time(NULL);
  • @1433
(S32)now
  • linden\indra\llui\llsliderctrl.cpp @218,251
10.0 instead of 10 will do.
  • linden\indra\test\inventory.cpp @63
typecast to (S32)time(NULL)
  • linden\indra\newview\llstartup.cpp @1459
typecast to (S32)now
  • linden\indra\newview\llpaneldirevents.cpp @137,169
typecast to (S32)utc_time
  • linden\indra\newview\llfloaterreporter.cpp @668
typecast to (U32)mcd->mTime
  • linden\indra\newview\llfloaterland.cpp @2609,2878
typecast to (S32)time(NULL)
  • linden\indra\newview\llfloaterbump.cpp @120
typecast to (S32)mcd->mTime
  • linden\indra\newview\viewer.cpp @2510
srand((U32)time(NULL));
  • linden\indra\newview\llpaneldirevents.cpp @137,169
typecast to (S32)utc_time


I'm left with 2 errors;

linden\indra\test\lldatabase_tut.cpp missing

linden\indra\newview\llurlwhitelist.cpp @44 typecast


------ Build started: Project: test, Configuration: ReleaseNoOpt Win32 ------
Compiling...
lldatabase_tut.cpp
c1xx : fatal error C1083: Cannot open source file: '.\lldatabase_tut.cpp': No such file or
directory
Build log was saved at "file://c:\Programming\VC\linden\indra\test\ReleaseNoOpt\BuildLog.htm"
test - 1 error(s), 0 warning(s)
------ Build started: Project: newview, Configuration: ReleaseNoOpt Win32 ------
Compiling...
llurlwhitelist.cpp
c:\programming\vc\linden\indra\newview\llurlwhitelist.cpp(44) : error C2664:
'std::list<_Ty>::_Iterator<_Secure_validation>::_Iterator(
 const std::list<_Ty>::_Iterator<_Secure_validation> &)' : 
cannot convert parameter 1 from 'int' to
'const std::list<_Ty>::_Iterator<_Secure_validation> &'
       with
       [
           _Ty=LLString,
           _Secure_validation=true
       ]
       Reason: cannot convert from 'int' to
'conststd::list<_Ty>::_Iterator<_Secure_validation>'
       with
       [
           _Ty=LLString,
           _Secure_validation=true
       ]
       No constructor could take the source type, or constructor overload resolution was
ambiguous
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved
at "file://c:\Programming\VC\linden\indra\newview\ReleaseNoOpt\BuildLog.htm"
newview - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 2 failed, 21 up-to-date, 0 skipped ==========