From 8464c5c2b9941208fbbe73225ff39cd8fcada108 Mon Sep 17 00:00:00 2001 From: Erik Auerswald Date: Mon, 25 Oct 2021 20:11:19 +0200 Subject: [PATCH] INSTALL: adjust to removed -Werror & -pedantic-errors --- INSTALL | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/INSTALL b/INSTALL index abf0d21..0ba69a4 100644 --- a/INSTALL +++ b/INSTALL @@ -72,14 +72,10 @@ CFLAGS definition in the Makefile: If you need to do this to compile ssocr, please consider reporting the issue to your source for your C compiler (e.g., vendor or distribution). -Another problem can be the introduction of new compiler warnings. Some of -those are prone to false positives, and this problem does occur for stable -GCC releases as well. Because ssocr's CFLAGS include both options -Werror -and -pedantic-errors, false positives will break compilation of ssocr. -To work around this problem, you can remove both of these options from -the CFLAGS definition in the Makefile: - - -Werror -pedantic-errors +Another problem can be the introduction of new compiler warnings. +Some of those are prone to false positives, and this problem does occur +for stable GCC releases as well. Because of this I have removed -Werror +and -pedantic-errors from ssocr's CFLAGS. If you suspect that your C compiler has problems with the ssocr source code, you can use the minimal CFLAGS definition given below: