edited out warning codes in g++