You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But -gnat2022 triggers other warnings-treated-as-errors, specifically the treatment of aggregates in parens as obsolescent -- see PR 104751 -- this issue shows why why I think that is a decision that AdaCore should not have made without consultation.
I agree that treating them as obsolescent is intrusive but that's not going to change. I disable those warnings (-gnatwJ) in all my project files now.
Consequently I suggest we just use the compiler switch (ie -gnat2022) rather than the pragma.
Activity
simonjwright commentedon Mar 3, 2024
But
-gnat2022triggers other warnings-treated-as-errors, specifically the treatment of aggregates in parens as obsolescent -- see PR 104751 -- this issue shows why why I think that is a decision that AdaCore should not have made without consultation.pat-rogers commentedon Mar 11, 2024
I agree that treating them as obsolescent is intrusive but that's not going to change. I disable those warnings (-gnatwJ) in all my project files now.
Consequently I suggest we just use the compiler switch (ie -gnat2022) rather than the pragma.