openbsd-ports/lang/llvm-gcc4/patches/patch-gcc_cp_parser_c
jsg 20eb3476c5 update to 2.6
ok sthen@
2009-11-02 23:00:08 +00:00

13 lines
534 B
Plaintext

$OpenBSD: patch-gcc_cp_parser_c,v 1.2 2009/11/02 23:00:08 jsg Exp $
--- gcc/cp/parser.c.orig Mon Jul 13 16:11:20 2009
+++ gcc/cp/parser.c Sat Oct 31 03:52:37 2009
@@ -17626,7 +17626,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);
}