Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 697434 - >=app-text/poppler-0.69 - switch from c++11 to c++14
Summary: >=app-text/poppler-0.69 - switch from c++11 to c++14
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-10 17:05 UTC by Francesco Riosa
Modified: 2019-10-10 19:25 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Riosa 2019-10-10 17:05:47 UTC
According to upstream from version 0.69 (Sep 2018) poppler require C++14

The standard is supported by all stable gcc versions in Gentoo, but the ebuild use the following:

append-cxxflags -std=c++11

While poppler surely worked until now with this flag appended it may be worth to consider switching to c++14 to avoid future hideous issues

curl \
  https://poppler.freedesktop.org/releases.html \
| grep -B30 "Require C++14"
Comment 1 Larry the Git Cow gentoo-dev 2019-10-10 19:25:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42bd9a5f88cb1fe948d41e5565284fe37e61d88c

commit 42bd9a5f88cb1fe948d41e5565284fe37e61d88c
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-10-10 19:21:27 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-10-10 19:24:50 +0000

    app-text/poppler: Stop enforcing a particular c++ver
    
    Outdated now, and build system does the right thing at this point.
    
    Reported-by: Francesco Riosa <vivo75@gmail.com>
    Closes: https://bugs.gentoo.org/697434
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-text/poppler/poppler-0.81.0.ebuild | 5 +----
 app-text/poppler/poppler-9999.ebuild   | 5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)