An example on how to reduce warnings for g++ 4.7