Bugfix release, doc fixes, compiler flag fixes.
*** Bug 9736 has been marked as a duplicate of this bug. ***
Commited, thanks for finding this!