ced95bccdd
Doesn't build on alpha yet, but should be on the way...
13 lines
536 B
Plaintext
13 lines
536 B
Plaintext
$OpenBSD: patch-gcc_cp_parser_c,v 1.7 2009/04/16 18:36:48 espie Exp $
|
|
--- gcc/cp/parser.c.orig Sun May 11 21:58:40 2008
|
|
+++ gcc/cp/parser.c Tue Apr 7 19:38:59 2009
|
|
@@ -16522,7 +16522,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);
|
|
}
|