cbc0ee2d14
ok sthen@
13 lines
534 B
Plaintext
13 lines
534 B
Plaintext
$OpenBSD: patch-gcc_cp_parser_c,v 1.3 2010/04/29 16:45:53 jsg Exp $
|
|
--- gcc/cp/parser.c.orig Thu Jan 14 01:51:42 2010
|
|
+++ gcc/cp/parser.c Wed Apr 28 23:09:27 2010
|
|
@@ -17630,7 +17630,7 @@ cp_parser_require (cp_parser* parser,
|
|
/* Output the MESSAGE -- unless we're parsing tentatively. */
|
|
if (!cp_parser_simulate_error (parser))
|
|
{
|
|
- char *message = concat ("expected ", token_desc, NULL);
|
|
+ char *message = concat ("expected ", token_desc, (void *)0);
|
|
cp_parser_error (parser, message);
|
|
free (message);
|
|
}
|