Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879041 - app-editors/teco-36_p19940820 - te_main.c: error: implicit declaration of function window
Summary: app-editors/teco-36_p19940820 - te_main.c: error: implicit declaration of fun...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Emacs project
URL:
Whiteboard: fixed in 36_p19940820-r1
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-01 18:21 UTC by Toralf Förster
Modified: 2024-10-28 19:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.07 KB, text/plain)
2022-11-01 18:21 UTC, Toralf Förster
Details
app-editors:teco-36_p19940820:20221101-080243.log (app-editors:teco-36_p19940820:20221101-080243.log,26.08 KB, text/plain)
2022-11-01 18:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,98.97 KB, text/plain)
2022-11-01 18:21 UTC, Toralf Förster
Details
environment (environment,83.74 KB, text/plain)
2022-11-01 18:21 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.69 KB, application/x-bzip)
2022-11-01 18:21 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.59 KB, application/x-bzip)
2022-11-01 18:21 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-11-01 18:21:41 UTC
^
    setup_tty(TTY_ON);      /* set tty to CBREAK, no echo, asynch mode */
    ^
te_main.c:59:5: error: implicit declaration of function 'window'
      [-Werror,-Wimplicit-function-declaration]
    window(WIN_INIT);       /* initialize screen-image buffer */

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20221031-160020

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.3
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.4

  HEAD of ::gentoo
commit a3b5bc39ab214afac8983d3256647b58a7e65c43
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Nov 1 07:16:53 2022 +0000

    2022-11-01 07:16:53 UTC

emerge -qpvO app-editors/teco
[ebuild  N    ] app-editors/teco-36_p19940820  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2022-11-01 18:21:42 UTC
Created attachment 826339 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-01 18:21:43 UTC
Created attachment 826341 [details]
app-editors:teco-36_p19940820:20221101-080243.log
Comment 3 Toralf Förster gentoo-dev 2022-11-01 18:21:45 UTC
Created attachment 826343 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-01 18:21:46 UTC
Created attachment 826345 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-01 18:21:47 UTC
Created attachment 826347 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-01 18:21:48 UTC
Created attachment 826349 [details]
logs.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-11-06 12:17:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e63e475293ba270157d0ddc6e9e2adc40ec9b3b

commit 4e63e475293ba270157d0ddc6e9e2adc40ec9b3b
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2022-11-06 12:13:04 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2022-11-06 12:16:30 +0000

    app-editors/teco: Disable overzealous CFLAGS
    
    Feel free to submit a patch that updates all these declarations and
    appeases the clang gods. :)
    
    Closes: https://bugs.gentoo.org/879041
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-editors/teco/teco-36_p19940820.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 8 Larry the Git Cow gentoo-dev 2022-11-20 22:18:39 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0d37e9ee70ba7c49e212443aa55c6123949aa65

commit b0d37e9ee70ba7c49e212443aa55c6123949aa65
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-20 22:16:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-20 22:18:29 +0000

    [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@gentoo.org>

 app-editors/teco/teco-36_p19940820.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 9 Larry the Git Cow gentoo-dev 2022-11-21 17:19:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ed2e1cfbabf9e75e2dfbc9341a152db254bc19e

commit 2ed2e1cfbabf9e75e2dfbc9341a152db254bc19e
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2022-11-21 17:18:01 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2022-11-21 17:19:20 +0000

    app-editors/teco: More offerings to appease the gods of clang
    
    Bump ebuild to EAPI 8 while at it.
    
    Closes: https://bugs.gentoo.org/879041
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-editors/teco/files/teco-more-warnings.patch  | 149 +++++++++++++++++++++++
 app-editors/teco/files/teco-void-functions.patch |  20 +--
 app-editors/teco/teco-36_p19940820-r1.ebuild     |  59 +++++++++
 3 files changed, 219 insertions(+), 9 deletions(-)