Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 900144 - 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])
Summary: x11-libs/gtkmathview-0.8.0-r5 - fails to build with clang (SVG_RenderingConte...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2023-03-07 10:51 UTC by ernsteiswuerfel
Modified: 2023-03-07 10:52 UTC (History)
0 users

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


Attachments
build.log (gtkmathview-0.8.0-r5:20230307-022802.log,469.23 KB, text/plain)
2023-03-07 10:51 UTC, ernsteiswuerfel
Details
emerge --info (file_900144.txt,7.86 KB, text/plain)
2023-03-07 10:52 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2023-03-07 10:51:59 UTC
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....
Comment 1 ernsteiswuerfel archtester 2023-03-07 10:52:38 UTC
Created attachment 856610 [details]
emerge --info