openbsd-ports/lang/gcc/4.1/patches/patch-gcc_cp_parser_c
espie b2737550c0 post-release version.
disable mudflap for now, as it is not compiling for us.
2006-03-05 22:11:15 +00:00

13 lines
536 B
Plaintext

$OpenBSD: patch-gcc_cp_parser_c,v 1.7 2006/03/05 22:11:15 espie Exp $
--- gcc/cp/parser.c.orig Sat Feb 18 09:37:34 2006
+++ gcc/cp/parser.c Sat Mar 4 14:34:46 2006
@@ -16029,7 +16029,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);
}