diff options
Diffstat (limited to 'debian/patches/gdc-updates.diff')
-rw-r--r-- | debian/patches/gdc-updates.diff | 8 |
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); |