fixed gcc warning, add some warning flags to travis file