openbsd-ports/lang/gfortran/patches/patch-gcc_cp_parser_c

13 lines
541 B
Plaintext
Raw Normal View History

$OpenBSD: patch-gcc_cp_parser_c,v 1.1.1.1 2010/10/10 17:39:06 steven Exp $
--- gcc/cp/parser.c.orig Sat Jul 7 04:02:37 2007
+++ gcc/cp/parser.c Mon Jun 14 19:23:04 2010
@@ -16499,7 +16499,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);
}