From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baruch Siach Date: Sat, 15 Dec 2018 21:51:48 +0200 Subject: [Buildroot] [PATCH] libssh: workaround -Werror=strict-overflow build failures In-Reply-To: <20181214225244.41e3b69c@windsurf.home> References: <7d6e364ac220c937573e1d4d7717a72cc240f81b.1544534379.git.baruch@tkos.co.il> <20181214225244.41e3b69c@windsurf.home> Message-ID: <8736qybmaz.fsf@tkos.co.il> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi Thomas, Thomas Petazzoni writes: > On Tue, 11 Dec 2018 15:19:39 +0200, Baruch Siach wrote: >> Add a patch that disables -Werror=strict-overflow to fix the build with >> some versions of gcc. >> >> Fixes: >> http://autobuild.buildroot.net/results/414/41490ebb181762d14c565effb0155db7ac1e0db0/ >> http://autobuild.buildroot.net/results/3a6/3a6395fd85f434ff855d602949166d5cec725c7e/ >> http://autobuild.buildroot.net/results/224/22422145e7fc9a8ab4e766b174a916e599845f1c/ >> >> Cc: Scott Fan >> Signed-off-by: Baruch Siach > > What about not using -Werror instead? The CompilerChecks.cmake files adds a long list of specific -Werror=xxx options. A removal of -Werror would not be enough. baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -