I'm pretty sure `ocv_warnings_disable` will append your flag. I mean, look at the source.