fix(frontends/lean/decl_cmds): warning message when compiling with clang++
This commit is contained in:
parent
f7ab2f7903
commit
6630ed8165
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ environment definition_cmd_core(parser & p, bool is_theorem, bool is_opaque, boo
|
|||
if (modifiers.m_is_instance) {
|
||||
bool persistent = true;
|
||||
if (modifiers.m_priority) {
|
||||
#if defined(__GNUC__)
|
||||
#if defined(__GNUC__) && !defined(__CLANG__)
|
||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
#endif
|
||||
env = add_instance(env, real_n, *modifiers.m_priority, persistent);
|
||||
|
|
Loading…
Reference in a new issue