summaryrefslogtreecommitdiff
path: root/debian/patches/gdc-updates.diff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-11-19 17:35:47 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-11-19 17:35:47 +0300
commit03bebac19e6fef19299d7326d3ee41f8a7dd1316 (patch)
treebb413d22ada331790f08b7b9a592e5ab95cd8918 /debian/patches/gdc-updates.diff
parent94a19f31b81e9e7e295414fe2ad2302e0db25a08 (diff)
parent8f6c4b0033c72f8ac14694c419a99458339dd6a9 (diff)
downloadgcc-9-03bebac19e6fef19299d7326d3ee41f8a7dd1316.tar.gz
Merge tag 'debian/9.2.1-19'
Diffstat (limited to 'debian/patches/gdc-updates.diff')
-rw-r--r--debian/patches/gdc-updates.diff8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches/gdc-updates.diff b/debian/patches/gdc-updates.diff
index 81d10b5..1efa364 100644
--- a/debian/patches/gdc-updates.diff
+++ b/debian/patches/gdc-updates.diff
@@ -4,18 +4,18 @@
--- a/src/gcc/d/Make-lang.in
+++ b/src/gcc/d/Make-lang.in
-@@ -51,7 +51,7 @@
+@@ -46,7 +46,7 @@ gdc-cross$(exeext): gdc$(exeext)
cp gdc$(exeext) gdc-cross$(exeext)
# Filter out pedantic and virtual overload warnings.
-d-warn = $(filter-out -pedantic -Woverloaded-virtual, $(STRICT_WARN))
+d-warn = $(filter-out -pedantic -Woverloaded-virtual -Wmissing-format-attribute, $(STRICT_WARN))
- # D Frontend has slightly relaxed warnings compared to rest of GDC.
- DMD_WARN_CXXFLAGS = -Wno-deprecated -Wstrict-aliasing -Wuninitialized
+ # Also filter out warnings for missing format attributes in the D Frontend.
+ DMD_WARN_CXXFLAGS = $(filter-out -Wmissing-format-attribute, $(WARN_CXXFLAGS))
--- a/src/libphobos/src/std/internal/math/gammafunction.d
+++ b/src/libphobos/src/std/internal/math/gammafunction.d
-@@ -420,7 +420,7 @@
+@@ -460,7 +460,7 @@ real logGamma(real x)
if ( p == q )
return real.infinity;
int intpart = cast(int)(p);