resolved all inline warnings, g++4.8 seems to work well