diff options
Diffstat (limited to 'gnu/egcs/gcc')
-rw-r--r-- | gnu/egcs/gcc/c-parse.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/c-parse.in b/gnu/egcs/gcc/c-parse.in index 6757c4d464a..faf5ff71c3b 100644 --- a/gnu/egcs/gcc/c-parse.in +++ b/gnu/egcs/gcc/c-parse.in @@ -894,7 +894,12 @@ end ifobjc string: STRING | string STRING - { $$ = chainon ($1, $2); } + { $$ = chainon ($1, $2); +ifc + if (warn_traditional) + warning ("Use of ANSI string concatenation"); +end ifc + } ; ifobjc |