13 lines
536 B
Plaintext
13 lines
536 B
Plaintext
$OpenBSD: patch-gcc_cp_parser_c,v 1.6 2005/08/04 14:51:37 espie Exp $
|
|
--- gcc/cp/parser.c.orig Fri Jul 22 09:30:49 2005
|
|
+++ gcc/cp/parser.c Thu Aug 4 10:54:01 2005
|
|
@@ -15842,7 +15842,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);
|
|
}
|