Report the use of non-standard file-level directives when the `portability` flag is set to `warning`