From ccd40a69325b28139a4d03873ee15e19e8901895 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Fri, 28 Jun 2019 18:41:09 +0000 Subject: [Darwin] Fix a couple of Wformat-diag build warnings. 2019-06-28 Iain Sandoe * config/darwin-c.c (pop_field_alignment): Quote #pragma options. * config/darwin-driver.c (darwin_default_min_version): Remove newline from warning. (darwin_driver_init): Likewise. From-SVN: r272789 --- gcc/config/darwin-c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/config/darwin-c.c') diff --git a/gcc/config/darwin-c.c b/gcc/config/darwin-c.c index aa5d2f2..55b60da 100644 --- a/gcc/config/darwin-c.c +++ b/gcc/config/darwin-c.c @@ -79,7 +79,7 @@ pop_field_alignment (void) free (entry); } else - error ("too many #pragma options align=reset"); + error ("too many %<#pragma options%> align=reset"); } /* Handlers for Darwin-specific pragmas. */ -- cgit v1.1