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

Bug 919393

Summary: dev-libs/m17n-lib-1.8.0 - [clang] medit.c: error: parameter idx was not declared, defaults to int; ISO
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: CJK Team <cjk>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-libs:m17n-lib-1.8.0:20231207-061055.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt
temp.tar.xz
var.tmp.clang.tar.xz

Description Toralf Förster gentoo-dev 2023-12-07 08:35:54 UTC
  445 |           size = (int) mface_get_prop (faces[i], Msize);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
medit.c:447:12: warning: cast to smaller integer type 'int' from 'void *'
      [-Wvoid-pointer-to-int-cast]
  447 |           ratio = (int) mface_get_prop (faces[i], Mratio);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
medit.c:665:22: error: parameter 'idx' was not declared, defaults to 'int'; ISO
      C99 and later do not support implicit int [-Wimplicit-int]
  665 | select_input_method (idx)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_clang_merged_usr-20231206-115013

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6+libcxx
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-21 

php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 9e61dadb91e11f7d0042195e1618cb255ab4a2be
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 7 05:31:57 2023 +0000

    2023-12-07 05:31:56 UTC

emerge -qpvO dev-libs/m17n-lib
[ebuild  N    ] dev-libs/m17n-lib-1.8.0  USE="X anthy athena bidi fontconfig gd libxml2 -libotf -spell -xft"
Comment 1 Toralf Förster gentoo-dev 2023-12-07 08:35:55 UTC
Created attachment 878034 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-07 08:35:57 UTC
Created attachment 878035 [details]
dev-libs:m17n-lib-1.8.0:20231207-061055.log
Comment 3 Toralf Förster gentoo-dev 2023-12-07 08:35:58 UTC
Created attachment 878036 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-07 08:35:59 UTC
Created attachment 878037 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-07 08:36:00 UTC
Created attachment 878038 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-07 08:36:00 UTC
Created attachment 878039 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-07 08:36:01 UTC
Created attachment 878040 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-07 08:36:03 UTC
Created attachment 878041 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-12-07 08:36:04 UTC
Created attachment 878042 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2023-12-07 08:36:05 UTC
Created attachment 878043 [details]
var.tmp.clang.tar.xz