Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921488 - games-fps/doomsday-2.3.1 - [clang] /.../src_core_turbo.cpp: error: non-constant-expression cannot be narrowed from type double to float in initializer list [-
Summary: games-fps/doomsday-2.3.1 - [clang] /.../src_core_turbo.cpp: error: non-consta...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-01-06 09:22 UTC by Toralf Förster
Modified: 2024-01-06 09:22 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,23.33 KB, text/plain)
2024-01-06 09:22 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,102.91 KB, application/x-xz)
2024-01-06 09:22 UTC, Toralf Förster
Details
environment (environment,149.99 KB, text/plain)
2024-01-06 09:22 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2024-01-06 09:22 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,40.43 KB, application/x-xz)
2024-01-06 09:22 UTC, Toralf Förster
Details
games-fps:doomsday-2.3.1:20240106-074923.log (games-fps:doomsday-2.3.1:20240106-074923.log,224.47 KB, text/plain)
2024-01-06 09:22 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,101.86 KB, application/x-xz)
2024-01-06 09:22 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 2024-01-06 09:22:04 UTC
too long lines were shrinked:

/var/tmp/portage/games-fps/doomsday-2.3.1/work/doomsday-2.3.1/doomsday/sdk/libcore/include/de/filesys/../filesys/../scriptsys/../data/../data/../data/../core/vector.h:112:5: warning: definition of implicit copy assignment operator for 'Vector2<int>' is deprecated because it has a user-provided copy 
  112 |     Vector2(Vector2 const &other) : x(other.x), y(other.y) {}
      |     ^
/var/tmp/portage/games-fps/doomsday-2.3.1/work/doomsday-2.3.1/doomsday_build/sdk/libcore/src_core_turbo.cpp:3405:37: note: in implicit copy assignment operator for 'de::Vector2<int>' first required here
 3405 |                             resetAt = Vector2i(idx, i - 1);
      |                                     ^
/var/tmp/portage/games-fps/doomsday-2.3.1/work/doomsday-2.3.1/doomsday_build/sdk/libcore/src_core_turbo.cpp:3565:13: error: non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list [-Wc++11-narrowing]
 3565 |     return {atan2(vec.y, vec.x), float(vec.z / vec.xy().length())};
      |             ^~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20231225-172010

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] 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
Python 3.11.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.74.1
  [2]   rust-1.74.1 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
3)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
5)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17 
  [5]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 8ec3c826eb53955b4fd259c7fe4afb8096edb228
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jan 6 07:02:58 2024 +0000

    2024-01-06 07:02:58 UTC

emerge -qpvO games-fps/doomsday
[ebuild  N    ] games-fps/doomsday-2.3.1  USE="display-mode -demo -fluidsynth -freedoom -openal -tools"
Comment 1 Toralf Förster gentoo-dev 2024-01-06 09:22:05 UTC
Created attachment 881537 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-06 09:22:06 UTC
Created attachment 881538 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-01-06 09:22:08 UTC
Created attachment 881539 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-01-06 09:22:08 UTC
Created attachment 881540 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-01-06 09:22:09 UTC
Created attachment 881541 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-06 09:22:11 UTC
Created attachment 881542 [details]
games-fps:doomsday-2.3.1:20240106-074923.log
Comment 7 Toralf Förster gentoo-dev 2024-01-06 09:22:12 UTC
Created attachment 881543 [details]
qlist-info.txt.xz