Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 882361

Summary: dev-lang/ocaml-4.11.2-r2 - interp.c: error: passing arguments to a function without a prototype is
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Team for the ML programming language family <ml>
Status: CONFIRMED ---    
Severity: normal CC: gienah
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: emerge-info.txt
dev-lang:ocaml-4.11.2-r2:20221121-092054.log
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2
var.tmp.clang.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-21 09:23:02 UTC
clang-15: warning: -Wl,-O1: 'linker' input unused [-Wunused-command-line-argument]
clang-15: warning: -Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument]
clang-15: warning: -Wl,--defsym=__gentoo_check_ldflags__=0: 'linker' input unused [-Wunused-command-line-argument]
clang -c -O2 -fno-strict-aliasing -fwrapv -Wall -Wdeclaration-after-statement -fno-common -ffunction-sections -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -g -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -Werror=implicit-function-declaration -Werror=implicit-int -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE   -DDEBUG -o misc_bd.o misc.c
interp.c:930:28: error: passing arguments to a function without a prototype is
      deprecated in all versions of C and is not supported in C2x
      [-Werror,-Wdeprecated-non-prototype]

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

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4_stable-20221121-030004

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.0 *
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 Rust versions:
  [1]   rust-bin-1.65.0 *
php cli (if any):

  HEAD of ::gentoo
commit 18e7305c2860cf124aa012cb50a168bc971ee7fa
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 21 08:46:51 2022 +0000

    2022-11-21 08:46:51 UTC

emerge -qpvO dev-lang/ocaml
[ebuild  N    ] dev-lang/ocaml-4.11.2-r2  USE="ocamlopt -emacs -flambda -latex -spacetime -xemacs"
Comment 1 Toralf Förster gentoo-dev 2022-11-21 09:23:03 UTC
Created attachment 835405 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-21 09:23:05 UTC
Created attachment 835407 [details]
dev-lang:ocaml-4.11.2-r2:20221121-092054.log
Comment 3 Toralf Förster gentoo-dev 2022-11-21 09:23:06 UTC
Created attachment 835409 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-21 09:23:07 UTC
Created attachment 835411 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-21 09:23:08 UTC
Created attachment 835413 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-21 09:23:10 UTC
Created attachment 835415 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-21 09:23:11 UTC
Created attachment 835417 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-21 09:23:13 UTC
Created attachment 835419 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-21 09:23:14 UTC
Created attachment 835421 [details]
var.tmp.clang.tar.bz2