tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

exiv2 and C++11?



I'm trying to build gimp-ufraw -- which I know is now crufty but it is
still very useful.

It complains:

  /tmp/work/graphics/gimp-ufraw/work/.buildlink/include/exiv2/error.hpp:266:12: error: 'noexcept' does not name a type
     ~Error() noexcept override = default;
              ^~~~~~~~
  /tmp/work/graphics/gimp-ufraw/work/.buildlink/include/exiv2/error.hpp:266:12: note: C++11 'noexcept' only available with -std=c++11 or -std=gnu++11

and I think it's because

  exiv2 actually requires c++11
  exiv2 does not have c++11 in USE_CXX_FEATURES

  ufraw is in C++03
  there is no --std=c++11 because ufraw doesn't do that
  build is gcc8 (because of filesystem probably)
  gcc8 defaults to ?


So is this as simple as

  adding c++11 to USE_CXX_FEATURES in exiv2's Makefile and bl3 (because
  this has simply not been noticed yet)

  adding c++11 to the future FORCE_CXX_STD, or USE_LANGUAGES now, in
  exiv2's Makefile and bl3

or something else?


Home | Main Index | Thread Index | Old Index