openbsd-ports/lang/gcc/4.3/patches/patch-gcc_diagnostic_c
2007-03-17 22:35:25 +00:00

13 lines
661 B
Plaintext

$OpenBSD: patch-gcc_diagnostic_c,v 1.1.1.1 2007/03/17 22:35:26 espie Exp $
--- gcc/diagnostic.c.orig Tue Feb 20 11:18:58 2007
+++ gcc/diagnostic.c Mon Mar 12 11:37:53 2007
@@ -412,7 +412,7 @@ diagnostic_report_diagnostic (diagnostic
if (context->show_option_requested && diagnostic->option_index)
diagnostic->message.format_spec
= ACONCAT ((diagnostic->message.format_spec,
- " [", cl_options[diagnostic->option_index].opt_text, "]", NULL));
+ " [", cl_options[diagnostic->option_index].opt_text, "]", (char *)0));
diagnostic->message.locus = &diagnostic->location;
pp_format (context->printer, &diagnostic->message);