avoid warning in g++