Summary: | media-libs/ftgl-2.1.3_rc5 fails to compile: non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
1-autoconf.out |
Description
Agostino Sarubbo
2020-09-02 08:21:11 UTC
Created attachment 657902 [details]
build.log
build log and emerge --info
Created attachment 657904 [details]
1-autoconf.out
1-autoconf.out
The actual issue is that while configuring sources it strips CXXFLAGS so that they are cleared off from any unwanted flags from the perspective of configuration scripts. I used to be able to compile when passed c++03 as a standard to build with, but now the configuration wipes it out from CXXFLAGS and as the result I see the build fail commit 2919a7d7469a54cf50ff469f76f71bf7cc4ca20f Author: Denis Pronin <dannftk@yandex.ru> Date: Sat Mar 12 13:07:26 2022 +0300 added ftgl-2.1.3_rc5-clang.patch patch that fixes building with clang using c++11 Signed-off-by: Denis Pronin <dannftk@yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/24505 Signed-off-by: James Le Cuirot <chewi@gentoo.org> |