Re: git: bb2ef4e129b0 - main - converters/pdf2djvu: switch to C++17 for upcoming poppler, -XMP option
Date: Sat, 22 Jan 2022 07:16:53 UTC
On Fri, Jan 21, 2022 at 09:41:52PM +0000, Adriaan de Groot wrote: > commit bb2ef4e129b0adb327e14abbc012e1cd39cea56d > > converters/pdf2djvu: switch to C++17 for upcoming poppler, -XMP option > > This is a "fix-it-before-it-breaks" commit. > > The issue is the upcoming updating for graphics/poppler. It *requires* > consumers to be C++17 or later. Previously it was ok with C++11 or > later. However, graphics/exiv2 is incompatible with C++17 in many > ways; there's work on a new release that is compatible, but that's > not out yet and not really applicable to the exiv2 version found > in ports. While C++ itself is the main offender here, `graphics/poppler', being popular dependency used alongside with other popular dependencies, should have not demanded C++17 for precisely those reasons, its just unrealistic to expect everyone ready for C++$YEAR-5 standard. In my ports I always try to lower (and builg against) minimal C++ standard that doesn't require too much patching. ./danfe