things learnt while installing VS2005 SP1 …

February 7th, 2007 by Bramz

If you’re planning to install Visual Studio 2005 Service Pack 1, keep this in mind:

  • Make sure you have at least three gigs of free space on your C: drive. To be on the safe side, make it four gigs.
  • Windows Update tries to shove this up your arse as a security update, but don’t let it. Do a manual install instead.
  • Log in as Administrator. I know you already have super monkey admin powers, but do it anyway.

The aftermath?

Well, it did solve the test errors we had in the win32_vc8 build of Lass, like the fld loading corrupt data on the FPU stack. It also solved the template class member function overload ambiguity we suffered in testUtilThreadFun.

It did cause some other troubles though. Apparently SP1 screws up on default arguments in function template declarations. In lass::prim, all intersection functions are implemented in *.inl files with the function declarations being listed in the accompanying *.h file. These functions have a parameter tMin that defaults to zero. This worked/works fine on VC6, 7, 7.1 and 8 sans SP1, all GCCs I could get my hands on, but not on VC8 SP1. It still compiles the code, but at runtime, tMin contains garbage when the default value is used. Unfortunately, I was unable to reproduce the problem on a smaller scale. Anyway, the solution to this problem was to move all intersection functions to the header files so that the separate function declarations no longer exist.

Comments are closed.