aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/darwin-c.c
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2019-06-28 18:41:09 +0000
committerIain Sandoe <iains@gcc.gnu.org>2019-06-28 18:41:09 +0000
commitccd40a69325b28139a4d03873ee15e19e8901895 (patch)
tree37049d1f1b0add82efc2e5a894e4113a4bf4cba9 /gcc/config/darwin-c.c
parent778d120f731f303c243b8a440c0cdfdf6b91339b (diff)
downloadgcc-ccd40a69325b28139a4d03873ee15e19e8901895.zip
gcc-ccd40a69325b28139a4d03873ee15e19e8901895.tar.gz
gcc-ccd40a69325b28139a4d03873ee15e19e8901895.tar.bz2
[Darwin] Fix a couple of Wformat-diag build warnings.
2019-06-28 Iain Sandoe <iain@sandoe.co.uk> * 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
Diffstat (limited to 'gcc/config/darwin-c.c')
-rw-r--r--gcc/config/darwin-c.c2
1 files changed, 1 insertions, 1 deletions
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. */