Summary: | x11-libs/gtkmathview-0.8.0-r5 - fails to build with clang (SVG_RenderingContext.cc:67:25: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ernsteiswuerfel <erhard_f> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 408963 | ||
Attachments: |
build.log
emerge --info |
Created attachment 856610 [details]
emerge --info
|
Created attachment 856608 [details] build.log Builds fine with gcc-12 but fails to build with clang-15. [...] libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../auto -I../../../src/common -I../../../src/common/mathvariants -I../../../src/engine/common -I../../../src/engine/mathml -I../../../src/engine/boxml -I../../../src/backend/common -I../../../src/backend/common/tfm -DGMV_BackEnd_DLL -Os -march=bdver3 -mtune=bdver3 -pipe -W -Wall -c SVG_MathGraphicDevice.cc -fPIC -DPIC -o .libs/libmathview_backend_svg_la-SVG_MathGraphicDevice.o SVG_StreamRenderingContext.cc:49:60: warning: unused parameter 'elem' [-Wunused-parameter] SVG_StreamRenderingContext::getId(const SmartPtr<Element>& elem) const ^ SVG_RenderingContext.cc:67:25: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] metadata("Created by "PACKAGE" version "VERSION); ^ SVG_RenderingContext.cc:67:43: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] metadata("Created by "PACKAGE" version "VERSION); ^ 2 errors generated. make[4]: *** [Makefile:665: libmathview_backend_svg_la-SVG_RenderingContext.lo] Error 1 make[4]: *** Waiting for unfinished jobs....