From: Matthew Fernandez Date: Sat, 19 Sep 2020 17:00:32 +0000 (-0700) Subject: remove build system workaround for GCC 3 X-Git-Tag: 2.46.0~20^2^2~65^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5a3848aa3dbd52d38e2c5283965ed824c1441c3;p=graphviz remove build system workaround for GCC 3 We no longer support anything below GCC 4.4.7. --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 428bb3185..983dabe2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Cgraph's agheap() API has been removed - Autotools build system support for eFence has been removed - Building Graphviz with ICC defaults to -O2 instead of -O0 +- Build system work arounds for GCC 3 have been removed ### Fixed - gvpr: line numbers in gvpr errors/warnings are incorrect #1594 diff --git a/configure.ac b/configure.ac index 72308fca0..c1f184b9a 100644 --- a/configure.ac +++ b/configure.ac @@ -381,17 +381,6 @@ else CFLAGS="${CFLAGS} -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math" ;; * ) - # -Wno-unused-parameter only needed for bug in gcc3 - # this test from: http://cvs.auriga.wearlab.de/cgi-bin/cvsweb.cgi/dillo/configure.in?rev=1.90;content-type=text%2Fplain;cvsroot=dillo - if test "`$CC -v 2>&1 | $EGREP 'version 3'`" != ""; then - CFLAGS="${CFLAGS} -Wno-unused-parameter" - # bug 1199 - case "${host_cpu}" in - sparc* ) - CFLAGS="${CFLAGS} -DUSE_MAXFLOAT" - ;; - esac - fi CFLAGS="${CFLAGS} -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math" ;; esac