warn/croak on "string" "string" auto-joins

Zack Weinberg zack@codesourcery.com
Tue Aug 17 17:52:00 GMT 2004


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



More information about the Gcc mailing list