This reverts commit aa61e4c76e that broke the compilation on few platforms (e.g. centos5). These warnings are already fixed properly in 10.0-connect.
aa61e4c76e