Summary: | app-editors/hteditor-2.1.0-r1: fails to compile with Clang: ../htinfo.h:30:39: error: invalid suffix on literal; C++11 requires a space | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Sergei Trofimovich (RETIRED) <slyfox> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 408963 | ||
Attachments: |
build.log
other.tar.bz2 |
Description
Agostino Sarubbo
2020-06-23 06:35:14 UTC
Created attachment 645804 [details]
build.log
build log and emerge --info
Created attachment 645806 [details]
other.tar.bz2
other logs
Relevant build failure: """ x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../analyser -I../asm -I../io/posix -I../io -I../output -DNOMACROS -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o out.o out.cc In file included from out_html.cc:23: ../htinfo.h:30:39: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] #define ht_copyright1 "(c) 1999-2004 "ht_author1 ^ """ The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f06a09623408b03131890042efcafc84c203be7c commit f06a09623408b03131890042efcafc84c203be7c Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-06-23 08:47:54 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-06-23 08:48:03 +0000 app-editors/hteditor: force -std=c++98 Workaround build failure on clang by downgrading doen to C++ 98. Reported-by: Agostino Sarubbo Bug: https://bugs.gentoo.org/729252 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> app-editors/hteditor/hteditor-2.1.0-r1.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) Also upstream already moved to c++14 and seems to build with clang. We need to make a snapshot. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2ceeac170799d229abda0f29cfb6a5eb1605d1b commit e2ceeac170799d229abda0f29cfb6a5eb1605d1b Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-07-04 17:30:55 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-07-04 17:31:07 +0000 app-editors/hteditor: bump up to 2.1.1_pre20161206 It's a snapshort of latest code available in upstream repository. Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/729252 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> app-editors/hteditor/Manifest | 1 + .../hteditor/hteditor-2.1.1_pre20161206.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) |