fighting gcc 4.8 warnings to errors #1