[boost] PATCH: Various error and warning corrections (g++ 4.3.0 snapshot)