some C  flags
one warning left - unused variable - not sure why it is there