Re: Ada compile with -fvar-tracking

Luis Machado
2023-11-16T14:02:53Z

On 11/14/23 21:17, Carl Love wrote:
> Tom:
>
> On Tue, 2023-11-14 at 12:40 -0700, Tom Tromey wrote:
>> set flags {debug additional_flags=-cargs additional_flags=-fvar-
>> tracking additional_flags=-margs}
>
> So I put that in as follows:
>
> set flags {debug additional_flags=-cargs additional_flags=-fvar-tracking additional_flags=-margs}

I guess one way to make the above slightly cleaner (debatable) is to append the additional flags on different lines:

set flags {"debug"}
lappend flags "additional_flags=-cargs"
lappend flags "additional_flags=-fvar-tracking"
lappend flags "additional_flags=-margs"

Slightly more verbose, but may make the additional flags more explicit/easier to read.