Thomas Koenig via Fortran <fort...@gcc.gnu.org> wrote:
yes a configure option is a possible way around a conflict.
I was thinking more along making it a run-time option.
This is an option which will only be used by a developer,
who should know what the source code contains and what
the tool chain supports (and who can try out an underscore
if nothing else works).
I guess the hard thing is for the developer to know that (s)he wants
the option and what to do when a conflict occurs.
So, something along the lines of -fdebug-aux-vars=: would be
equivalent to -fdebug-aux-vars, -fdebug-aux-vars=_ should work
on any system, with the (small) risk of colliding with user code.
naming is ever hard - although I suppose, if this is very infrequent in
use, having a long name isn’t so terrible
maybe:
-fdebug-aux-vars-with-separator=x
and
-fdebug-aux-vars
as an alias to '-fdebug-aux-vars-with-separator=:'
(so that, unless one needs something different, the shorter version is
available).
FAOD, this is ‘thinking aloud’ about what might make it easier to
understand; your version is equivalent other than the names.
How does that sound?
A reasonable compromise (at this point I will defer to those folks
who are actually likely to use the facility).
cheers
Iain