The project now compiles without warnings in gcc using the -Wall flag.