Restored -g flag
more warnings and flags