add warnings to compilation options