GNU bug report logs - #59991
[PATCH 0/2] Port tests to modern C

Previous Next

Package: automake-patches;

Reported by: Frederic Berat <fberat <at> redhat.com>

Date: Mon, 12 Dec 2022 08:44:04 UTC

Severity: normal

Tags: patch

Done: Karl Berry <karl <at> freefriends.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Frederic Berat <fberat <at> redhat.com>
To: 59991 <at> debbugs.gnu.org
Subject: [bug#59991] [PATCH 0/2] Port tests to modern C
Date: Mon, 12 Dec 2022 08:05:52 +0100
Hello,

There is ongoing work from both GCC and Clang community to set the C99 standard
as the default one, in an effort to improve security overall.
In this context, Fedora packages were rebuilt with some warnings turned as
errors to simulate the change. This leads to failures in Automake, that are
attempted to be fixed, mainly in this patchset.

Another patch dedicated to Flex related tests will follow.

Fred.

---
Frédéric Bérat (2):
  tests: Fix 'type defaults' error in link_cond due to main not being
    properly declared
  tests: Fix implicit function declaration errors

 t/ax/depcomp.sh              |  4 ++--
 t/c-demo.sh                  |  1 +
 t/cond35.sh                  |  2 ++
 t/dist-vs-built-sources.sh   |  1 +
 t/lex-clean.sh               |  1 +
 t/lex-multiple.sh            |  4 ++++
 t/lex-nodist.sh              |  2 ++
 t/link_cond.sh               |  2 +-
 t/ltcond2.sh                 |  2 ++
 t/ltconv.sh                  |  6 ++++++
 t/subobj-clean-lt-pr10697.sh | 10 +++++++++-
 t/subobj-clean-pr10697.sh    | 10 +++++++++-
 t/tags-pr12372.sh            |  3 ++-
 t/yacc-basic.sh              |  1 +
 t/yacc-clean.sh              |  4 ++++
 t/yacc-nodist.sh             |  2 ++
 16 files changed, 49 insertions(+), 6 deletions(-)

-- 
2.38.1





This bug report was last modified 1 year and 189 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.