This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: warn/croak on "string" "string" auto-joins
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Adam Monsen <haircut at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 17 Aug 2004 10:48:55 -0700
- Subject: Re: warn/croak on "string" "string" auto-joins
- References: <9ebd65110408171032227968ea@mail.gmail.com>
Adam Monsen <haircut@gmail.com> writes:
> String auto-joins can be dangerous. Is there a way to tell the
> compiler to warn/croak when an auto-join occurs?
There is not, and without a way for the programmer to make clear that
a given use of string-constant concatenation is intentional, I am
reluctant to add one.
zw