summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>1999-12-15 16:46:29 +0000
committerespie <espie@openbsd.org>1999-12-15 16:46:29 +0000
commit657edf05e2d1214223397e4a2c2cf9b728f40b6d (patch)
tree98981bb6eb054b58dedc978323c490d04c7b7760
parentnever go into persist mode if there are still segments to be retransmitted. (diff)
downloadwireguard-openbsd-657edf05e2d1214223397e4a2c2cf9b728f40b6d.tar.xz
wireguard-openbsd-657edf05e2d1214223397e4a2c2cf9b728f40b6d.zip
From gcc development sources:
if -Wtraditional, warn about ANSI cpp string concatenation.
-rw-r--r--gnu/egcs/gcc/c-parse.in7
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