Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880489 - media-libs/gd-2.3.3-r1 - /.../gd_nnquant.c: error: a function definition without a prototype is deprecated in all versions of C an
Summary: media-libs/gd-2.3.3-r1 - /.../gd_nnquant.c: error: a function definition with...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Codec Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2022-11-08 20:55 UTC by Toralf Förster
Modified: 2022-11-08 22:52 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.67 KB, text/plain)
2022-11-08 20:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,99.38 KB, text/plain)
2022-11-08 20:55 UTC, Toralf Förster
Details
environment (environment,115.60 KB, text/plain)
2022-11-08 20:55 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,739 bytes, application/x-bzip)
2022-11-08 20:55 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,25.31 KB, application/x-bzip)
2022-11-08 20:55 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,15.38 KB, application/x-bzip)
2022-11-08 20:55 UTC, Toralf Förster
Details
media-libs:gd-2.3.3-r1:20221108-200756.log (media-libs:gd-2.3.3-r1:20221108-200756.log,43.60 KB, text/plain)
2022-11-08 20:55 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,36.43 KB, application/x-bzip)
2022-11-08 20:55 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,2.39 KB, application/x-bzip)
2022-11-08 20:55 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-08 20:55:28 UTC
too long lines were shrinked:

/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/gd-2.3.3-r1/work/libgd-2.3.3/src   -I/usr/include/libpng16   -I/usr/include/freetype2     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -m
/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/gd-2.3.3-r1/work/libgd-2.3.3/src   -I/usr/include/libpng16   -I/usr/include/freetype2     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -m
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/gd-2.3.3-r1/work/libgd-2.3.3/src -I/usr/include/libpng16 -I/usr/include/freetype2 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -msse -mfpmath=sse -fvisibility=hidde
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/gd-2.3.3-r1/work/libgd-2.3.3/src -I/usr/include/libpng16 -I/usr/include/freetype2 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -msse -mfpmath=sse -fvisibility=hidde
/var/tmp/portage/media-libs/gd-2.3.3-r1/work/libgd-2.3.3/src/gd_nnquant.c:115:13: error: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
static void initnet(nnq, thepic, len, sample, colours)
            ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20221108-023017

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
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.4
Python 3.10.8
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.6
php cli (if any):

  HEAD of ::gentoo
commit 379696fd45293f5a24c5d04d57487b2dc6a1b226
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Nov 8 19:16:53 2022 +0000

    2022-11-08 19:16:52 UTC

emerge -qpvO media-libs/gd
[ebuild  N    ] media-libs/gd-2.3.3-r1  USE="jpeg png truetype zlib -avif -fontconfig -heif -static-libs -test -tiff -webp -xpm" CPU_FLAGS_X86="sse"
Comment 1 Toralf Förster gentoo-dev 2022-11-08 20:55:29 UTC
Created attachment 829549 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-08 20:55:30 UTC
Created attachment 829551 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-08 20:55:31 UTC
Created attachment 829553 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-08 20:55:32 UTC
Created attachment 829555 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-08 20:55:33 UTC
Created attachment 829557 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-08 20:55:34 UTC
Created attachment 829559 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-08 20:55:36 UTC
Created attachment 829561 [details]
media-libs:gd-2.3.3-r1:20221108-200756.log
Comment 8 Toralf Förster gentoo-dev 2022-11-08 20:55:37 UTC
Created attachment 829563 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-08 20:55:38 UTC
Created attachment 829565 [details]
var.tmp.clang.tar.bz2