defined constant diagnostics