Fixed no-return warning cause
Updated compilation flags