Warn that classes defined in the compilation unit scope are not supported