Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 623618

Summary: dev-perl/Wx-0.993.200: This file requires compiler and library support for the ISO C++ 2011 standard.
Product: Gentoo Linux Reporter: Sergey 'L29Ah' Alirzaev <zl29ah>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED NEEDINFO    
Severity: normal CC: jstein, kentnl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sergey 'L29Ah' Alirzaev 2017-07-03 02:07:30 UTC
x86_64-pc-linux-gnu-g++ -pthread   -c  -I. -I. -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0  -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -O2 -pipe -march=native   -DVERSION=\"0.9932\" -DXS_VERSION=\"0.9932\" -fPIC "-I/usr/lib64/perl5/5.24.1/x86_64-linux-thread-multi/CORE"  -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__   Constant.c
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/type_traits:35:0,
                 from /usr/include/wx-3.0/wx/strvararg.h:25,
                 from /usr/include/wx-3.0/wx/string.h:46,
                 from /usr/include/wx-3.0/wx/memory.h:15,
                 from /usr/include/wx-3.0/wx/object.h:19,
                 from /usr/include/wx-3.0/wx/event.h:16,
                 from /usr/include/wx-3.0/wx/window.h:18,
                 from /usr/include/wx-3.0/wx/nonownedwnd.h:14,
                 from /usr/include/wx-3.0/wx/toplevel.h:20,
                 from /usr/include/wx-3.0/wx/dialog.h:14,
                 from /usr/include/wx-3.0/wx/filedlg.h:18,
                 from Constant.c:31:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^

adding the option to C*FLAGS won't work around the problem as it is ignored
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-03-21 00:06:40 UTC
Are you still able to replicate this issue? This looks suspiciously like an incomplete GCC migration.

If you are able to replicate, please attach a full build log, and emerge --info, as it stands there's insufficient information here to resolve this bug.

Please re-open if you can provide more details.