Summary: | media-libs/zimg-2.3: zimg.cpp:53:36: error: ‘exception_ptr’ is not a member of ‘std’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | maekke, media-video |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=556296 | ||
Whiteboard: | masked in 17.0 profiles | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
media-libs:zimg-2.3:20161015-053722.log
media-libs:zimg-9999:20161002-113749.log.xz |
Description
Jeroen Roovers (RETIRED)
![]() does it work if you add a '#include <exception>' at the top of src/zimg/api/zimg.cpp ? the file includes indirectly <stdexcept>, which includes <exception> here, but somehow on your system it doesnt. (In reply to Alexis Ballier from comment #1) > does it work if you add a '#include <exception>' at the top of > src/zimg/api/zimg.cpp ? No. Then something is wrong with your toolchain: http://en.cppreference.com/w/cpp/error/exception_ptr says it is defined in exception header with c++11 and the compile line: hppa2.0-unknown-linux-gnu-g++ -DPACKAGE_NAME=\"zimg\" -DPACKAGE_TARNAME=\"zimg\" -DPACKAGE_VERSION=\"2.3.0\" "-DPACKAGE_STRING=\"zimg 2.3.0\"" -DPACKAGE_BUGREPORT=\"https://github.com/sekrit-twc/zimg/pulls\" -DPACKAGE_URL=\"https://github.com/sekrit-twc/zimg\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -I. -I/var/tmp/portage/media-libs/zimg-2.3/work/zimg-release-2.3 -I/var/tmp/portage/media-libs/zimg-2.3/work/zimg-release-2.3/src/zimg -std=c++11 -O2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -DNDEBUG -fvisibility=hidden -mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -c /var/tmp/portage/media-libs/zimg-2.3/work/zimg-release-2.3/src/zimg/api/zimg.cpp -fPIC -DPIC -o src/zimg/api/.libs/libzimg_internal_la-zimg.o shows -std=c++11 moreover, it builds fine here on amd64. I also tried the live ebuild with the same result. It seems to only happen on HPPA. Created attachment 450344 [details]
media-libs:zimg-9999:20161002-113749.log.xz
Masked in profiles/arch/hppa/package.use.mask for now. I switched to =sys-devel/gcc-5.4.0-r3 for bug #603260 testing and with that it builds correctly. I am not sure what that means. Same on arm with gcc-4.9.4 (media-libs/zimg-2.4). (In reply to Markus Meier from comment #8) > Same on arm with gcc-4.9.4 (media-libs/zimg-2.4). Works fine with gcc 6 and zimg 2.5 using profile 13.0. http://www.cplusplus.com/reference/exception/exception_ptr/ claims exception_ptr is a c++11 feature. As gcc-6 and gcc-7 are stable (both should default to c++11) let's close this as obsolete. |