public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/teco/
Date: Sun, 20 Nov 2022 22:18:40 +0000 (UTC)	[thread overview]
Message-ID: <1668982709.b0d37e9ee70ba7c49e212443aa55c6123949aa65.sam@gentoo> (raw)

commit:     b0d37e9ee70ba7c49e212443aa55c6123949aa65
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 20 22:16:00 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 20 22:18:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0d37e9e

[QA] Revert "app-editors/teco: Disable overzealous CFLAGS"

This reverts commit 4e63e475293ba270157d0ddc6e9e2adc40ec9b3b.

This isn't an acceptable fix for Clang 16 / GCC 14 issues,
not least because these usually indicate likely runtime failure.

While K&R style declarations can be excused for old code, implicit
function declarations simply don't work in any C version.

See the documentation at https://wiki.gentoo.org/wiki/Modern_C_porting
for more information on how to fix.

Bug: https://bugs.gentoo.org/879041
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-editors/teco/teco-36_p19940820.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-editors/teco/teco-36_p19940820.ebuild b/app-editors/teco/teco-36_p19940820.ebuild
index b3e32b905ec3..d37ed3f84e1f 100644
--- a/app-editors/teco/teco-36_p19940820.ebuild
+++ b/app-editors/teco/teco-36_p19940820.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -37,7 +37,7 @@ src_prepare() {
 }
 
 src_compile() {
-	append-flags -ansi -Wno-implicit-function-declaration -Wno-implicit-int
+	append-flags -ansi
 	append-cppflags -D_POSIX_SOURCE
 	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
 }


             reply	other threads:[~2022-11-20 22:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-20 22:18 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-01 17:58 [gentoo-commits] repo/gentoo:master commit in: app-editors/teco/ Ulrich Müller
2023-05-01 17:50 Sam James
2023-05-01 17:50 Sam James
2022-11-21 17:19 Ulrich Müller
2022-11-06 12:17 Ulrich Müller
2020-07-03 23:22 Aaron Bauman
2019-08-23 16:55 Ulrich Müller
2019-08-23 16:33 Agostino Sarubbo
2019-08-19 11:37 Agostino Sarubbo
2019-08-19  5:43 Agostino Sarubbo
2019-08-16  7:24 Ulrich Müller
2019-08-16  7:14 Ulrich Müller
2016-02-09 21:37 Ulrich Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1668982709.b0d37e9ee70ba7c49e212443aa55c6123949aa65.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox