From: IOhannes m zmölnig Date: Tue, 2 Feb 2021 21:39:54 +0000 (+0100) Subject: Don't treat format-security warnings as errors X-Git-Tag: archive/raspbian/0.20.1+ds1-1+rpi1~1^2~63 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=119cb5a06fe01ac497bc045a7eaae48f28d20198;p=giada.git Don't treat format-security warnings as errors src/utils/log.h provides their own fprintf/printf replacements, which obviously take a non-fixed format-string LATER: think about tightening the no-error to just src/utils/log.h --- diff --git a/debian/rules b/debian/rules index dd36476..6c7a8b3 100755 --- a/debian/rules +++ b/debian/rules @@ -12,7 +12,7 @@ endif JUCE_VERSION := $(shell dpkg-query --show --showformat='$${source:Version}' juce-modules-source) CPPFLAGS+=-DBUILD_DATE='"$(BUILD_DATE)"' -CXXFLAGS+=-std=c++17 -Wno-error +CXXFLAGS+=-std=c++17 -Wno-error -Wno-error=format-security LIBS=$(shell pkg-config --libs libjpeg libpng libcurl) # JUCE (used by giada) uses some c++11 features requiring atomic_store_8 and