kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #28531
Re: [PATCH] [RFC] Get rid of boost::context
On Tue, Mar 07, 2017 at 04:35:44PM +0100, Maciej Sumiński wrote:
> I use Linux+clang (3.9) and here the compiler does not complain. What is
> the error message?
Error dump attached.
> Does it really build if you revert only this
> particular commit?
I also reverted the one directly after it because they looked connected.
The build on macOS takes long enough that I didn't want to have to try
twice.
>
> Cheers,
> Orson
>
> On 03/07/2017 04:15 PM, Chris Pavlina wrote:
> > Tested, works fine.
> >
> > By the way, the following commit breaks the build on macOS, and probably
> > also Linux+clang. I had to revert it to get a successful build:
> >
> > commit d1550b0cdb990ba1f4f32220e110f8ff6331a5f1
> > Author: Maciej Suminski <maciej.suminski@xxxxxxx>
> > Date: Mon Mar 6 11:41:06 2017 +0100
> >
> > Renamed VIEW_CONTROLS::SETTINGS to VC_SETTINGS.
> >
> > Because nested types cannot be forwarded.
> >
> >
> >
> > On Tue, Mar 07, 2017 at 09:40:04AM -0500, Wayne Stambaugh wrote:
> >> I'm thinking a valid build and a quick check that the P&S router doesn't
> >> crash should be adequate.
> >>
> >> On 3/7/2017 9:32 AM, Chris Pavlina wrote:
> >>> How thoroughly? I can build it on macOS and poke around a bit, but I
> >>> don't have time to spend a day doing layout with it right now.
> >>>
> >>>
> >>> On Tue, Mar 07, 2017 at 09:23:30AM -0500, Wayne Stambaugh wrote:
> >>>> It needs to be tested on osx before we commit the patch.
> >>>>
> >>>> On 3/7/2017 9:24 AM, Maciej Sumiński wrote:
> >>>>> Brief testing with Win7 x86_64 gives positive results. I really hope
> >>>>> this is the end of the boost::context nightmare.
> >>>>>
> >>>>> Cheers,
> >>>>> Orson
> >>>>>
> >>>>> On 03/07/2017 02:36 PM, Tomasz Wlostowski wrote:
> >>>>>> Hi,
> >>>>>>
> >>>>>> The attached patch removes boost::context dependency by introducing a
> >>>>>> single-file libcontext that automatically detects the compiler &
> >>>>>> platform and provides a stable API, contrary to the Boost libs. If you
> >>>>>> have some spare time, please test it, in particular on Windows and OSX.
> >>>>>>
> >>>>>> I verified the library (outside Kicad) on
> >>>>>> Win32/Win64/Linux-i386/Linux-x86/64, OSX/x86_64, Linux/ARM and
> >>>>>> Linux/Aarch64. Compared to boost, there is no support for Sparc and PPC
> >>>>>> platforms. If anyone here pops up willing to test the Sparc/PPC support,
> >>>>>> I can add it.
> >>>>>>
> >>>>>> I hope this will sort out the boost issues for good.
> >>>>>>
> >>>>>> Cheers,
> >>>>>> Tom
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Mailing list: https://launchpad.net/~kicad-developers
> >>>>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> >>>>>> Unsubscribe : https://launchpad.net/~kicad-developers
> >>>>>> More help : https://help.launchpad.net/ListHelp
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> Mailing list: https://launchpad.net/~kicad-developers
> >>>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> >>>>> Unsubscribe : https://launchpad.net/~kicad-developers
> >>>>> More help : https://help.launchpad.net/ListHelp
> >>>>>
> >>>>
> >>>> _______________________________________________
> >>>> Mailing list: https://launchpad.net/~kicad-developers
> >>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> >>>> Unsubscribe : https://launchpad.net/~kicad-developers
> >>>> More help : https://help.launchpad.net/ListHelp
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help : https://help.launchpad.net/ListHelp
> >
>
>
In file included from /Users/sierra/git/kicad-app/kicad/common/tool/tool_event.cpp:28:
In file included from /Users/sierra/git/kicad-app/kicad/include/tool/tool_event.h:29:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:912:49: error:
invalid application of 'sizeof' to an incomplete type 'value_type' (aka 'KIGFX::VC_SETTINGS')
static const difference_type __block_size = sizeof(value_type) < 256 ? 4096 / sizeof(value_type) : 16;
^~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1161:15: note:
in instantiation of template class 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >' requested here
: private __deque_base<_Tp, _Allocator>
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stack:111:22: note:
in instantiation of template class 'std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> >'
requested here
typedef typename container_type::value_type value_type;
^
/Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:517:36: note: in instantiation of template class
'std::__1::stack<KIGFX::VC_SETTINGS, std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> > >'
requested here
std::stack<KIGFX::VC_SETTINGS> m_vcStack;
^
/Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:44:12: note: forward declaration of 'KIGFX::VC_SETTINGS'
struct VC_SETTINGS;
^
In file included from /Users/sierra/git/kicad-app/kicad/common/tool/tool_event.cpp:28:
In file included from /Users/sierra/git/kicad-app/kicad/include/tool/tool_event.h:29:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1171:30: error:
'__alloc_traits' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::__alloc_traits __alloc_traits;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stack:111:22: note:
in instantiation of template class 'std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> >'
requested here
typedef typename container_type::value_type value_type;
^
/Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:517:36: note: in instantiation of template class
'std::__1::stack<KIGFX::VC_SETTINGS, std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> > >'
requested here
std::stack<KIGFX::VC_SETTINGS> m_vcStack;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:904:54: note:
declared protected here
typedef allocator_traits<allocator_type> __alloc_traits;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1172:30: error:
'reference' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::reference reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:905:54: note:
declared protected here
typedef value_type& reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1173:30: error:
'const_reference' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::const_reference const_reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:906:54: note:
declared protected here
typedef const value_type& const_reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1174:30: error:
'iterator' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::iterator iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:922:64: note:
declared protected here
difference_type, __block_size> iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1175:30: error:
'const_iterator' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::const_iterator const_iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:924:64: note:
declared protected here
difference_type, __block_size> const_iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1176:30: error:
'size_type' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::size_type size_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:907:54: note:
declared protected here
typedef typename __alloc_traits::size_type size_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1177:30: error:
'difference_type' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::difference_type difference_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:908:54: note:
declared protected here
typedef typename __alloc_traits::difference_type difference_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1179:30: error:
'pointer' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::pointer pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:909:54: note:
declared protected here
typedef typename __alloc_traits::pointer pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1180:30: error:
'const_pointer' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::const_pointer const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:910:54: note:
declared protected here
typedef typename __alloc_traits::const_pointer const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1359:30: error:
'__map_const_pointer' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::__map_const_pointer __map_const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:918:81: note:
declared protected here
typedef typename allocator_traits<__const_pointer_allocator>::const_pointer __map_const_pointer;
^
In file included from /Users/sierra/git/kicad-app/kicad/common/tool/tool_base.cpp:25:
In file included from /Users/sierra/git/kicad-app/kicad/include/tool/tool_event.h:29:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:912:49: error:
invalid application of 'sizeof' to an incomplete type 'value_type' (aka 'KIGFX::VC_SETTINGS')
static const difference_type __block_size = sizeof(value_type) < 256 ? 4096 / sizeof(value_type) : 16;
^~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1161:15: note:
in instantiation of template class 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >' requested here
: private __deque_base<_Tp, _Allocator>
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stack:111:22: note:
in instantiation of template class 'std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> >'
requested here
typedef typename container_type::value_type value_type;
^
/Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:517:36: note: in instantiation of template class
'std::__1::stack<KIGFX::VC_SETTINGS, std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> > >'
requested here
std::stack<KIGFX::VC_SETTINGS> m_vcStack;
^
/Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:44:12: note: forward declaration of 'KIGFX::VC_SETTINGS'
struct VC_SETTINGS;
^
In file included from /Users/sierra/git/kicad-app/kicad/common/tool/tool_base.cpp:25:
In file included from /Users/sierra/git/kicad-app/kicad/include/tool/tool_event.h:29:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1171:30: error:
'__alloc_traits' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::__alloc_traits __alloc_traits;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stack:111:22: note:
in instantiation of template class 'std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> >'
requested here
typedef typename container_type::value_type value_type;
^
/Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:517:36: note: in instantiation of template class
'std::__1::stack<KIGFX::VC_SETTINGS, std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> > >'
requested here
std::stack<KIGFX::VC_SETTINGS> m_vcStack;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:904:54: note:
declared protected here
typedef allocator_traits<allocator_type> __alloc_traits;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1172:30: error:
'reference' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::reference reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:905:54: note:
declared protected here
typedef value_type& reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1173:30: error:
'const_reference' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::const_reference const_reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:906:54: note:
declared protected here
typedef const value_type& const_reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1174:30: error:
'iterator' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::iterator iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:922:64: note:
declared protected here
difference_type, __block_size> iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1175:30: error:
'const_iterator' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::const_iterator const_iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:924:64: note:
declared protected here
difference_type, __block_size> const_iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1176:30: error:
'size_type' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::size_type size_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:907:54: note:
declared protected here
typedef typename __alloc_traits::size_type size_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1177:30: error:
'difference_type' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::difference_type difference_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:908:54: note:
declared protected here
typedef typename __alloc_traits::difference_type difference_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1179:30: error:
'pointer' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::pointer pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:909:54: note:
declared protected here
typedef typename __alloc_traits::pointer pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1180:30: error:
'const_pointer' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::const_pointer const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:910:54: note:
declared protected here
typedef typename __alloc_traits::const_pointer const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1359:30: error:
'__map_const_pointer' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::__map_const_pointer __map_const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:918:81: note:
declared protected here
typedef typename allocator_traits<__const_pointer_allocator>::const_pointer __map_const_pointer;
^
11 errors generated.
make[2]: *** [common/CMakeFiles/common.dir/tool/tool_event.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /Users/sierra/git/kicad-app/kicad/pcbnew/basepcbframe.cpp:42:
In file included from /Users/sierra/git/kicad-app/kicad/common/../3d-viewer/3d_viewer/eda_3d_viewer.h:36:
In file included from /Users/sierra/git/kicad-app/kicad/common/../3d-viewer/3d_viewer/../3d_canvas/../3d_rendering/3d_render_raytracing/accelerators/../shapes2D/../../../3d_canvas/cinfo3d_visu.h:43:
In file included from /Users/sierra/git/kicad-app/kicad/common/../pcbnew/class_pad.h:37:
In file included from /Users/sierra/git/kicad-app/kicad/common/../polygon/PolyLine.h:57:
In file included from /Users/sierra/git/kicad-app/kicad/include/geometry/shape_poly_set.h:33:
In file included from /Users/sierra/git/kicad-app/kicad/common/../polygon/clipper.hpp:60:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/queue:169:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:912:49: error:
invalid application of 'sizeof' to an incomplete type 'value_type' (aka 'KIGFX::VC_SETTINGS')
static const difference_type __block_size = sizeof(value_type) < 256 ? 4096 / sizeof(value_type) : 16;
^~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1161:15: note:
in instantiation of template class 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >' requested here
: private __deque_base<_Tp, _Allocator>
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stack:111:22: note:
in instantiation of template class 'std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> >'
requested here
typedef typename container_type::value_type value_type;
^
/Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:517:36: note: in instantiation of template class
'std::__1::stack<KIGFX::VC_SETTINGS, std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> > >'
requested here
std::stack<KIGFX::VC_SETTINGS> m_vcStack;
^
/Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:44:12: note: forward declaration of 'KIGFX::VC_SETTINGS'
struct VC_SETTINGS;
^
In file included from /Users/sierra/git/kicad-app/kicad/pcbnew/basepcbframe.cpp:42:
In file included from /Users/sierra/git/kicad-app/kicad/common/../3d-viewer/3d_viewer/eda_3d_viewer.h:36:
In file included from /Users/sierra/git/kicad-app/kicad/common/../3d-viewer/3d_viewer/../3d_canvas/../3d_rendering/3d_render_raytracing/accelerators/../shapes2D/../../../3d_canvas/cinfo3d_visu.h:43:
In file included from /Users/sierra/git/kicad-app/kicad/common/../pcbnew/class_pad.h:37:
In file included from /Users/sierra/git/kicad-app/kicad/common/../polygon/PolyLine.h:57:
In file included from /Users/sierra/git/kicad-app/kicad/include/geometry/shape_poly_set.h:33:
In file included from /Users/sierra/git/kicad-app/kicad/common/../polygon/clipper.hpp:60:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/queue:169:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1171:30: error:
'__alloc_traits' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::__alloc_traits __alloc_traits;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stack:111:22: note:
in instantiation of template class 'std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> >'
requested here
typedef typename container_type::value_type value_type;
^
/Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:517:36: note: in instantiation of template class
'std::__1::stack<KIGFX::VC_SETTINGS, std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> > >'
requested here
std::stack<KIGFX::VC_SETTINGS> m_vcStack;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:904:54: note:
declared protected here
typedef allocator_traits<allocator_type> __alloc_traits;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1172:30: error:
'reference' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::reference reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:905:54: note:
declared protected here
typedef value_type& reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1173:30: error:
'const_reference' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::const_reference const_reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:906:54: note:
declared protected here
typedef const value_type& const_reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1174:30: error:
'iterator' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::iterator iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:922:64: note:
declared protected here
difference_type, __block_size> iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1175:30: error:
'const_iterator' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::const_iterator const_iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:924:64: note:
declared protected here
difference_type, __block_size> const_iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1176:30: error:
'size_type' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::size_type size_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:907:54: note:
declared protected here
typedef typename __alloc_traits::size_type size_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1177:30: error:
'difference_type' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::difference_type difference_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:908:54: note:
declared protected here
typedef typename __alloc_traits::difference_type difference_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1179:30: error:
'pointer' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::pointer pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:909:54: note:
declared protected here
typedef typename __alloc_traits::pointer pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1180:30: error:
'const_pointer' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::const_pointer const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:910:54: note:
declared protected here
typedef typename __alloc_traits::const_pointer const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1359:30: error:
'__map_const_pointer' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::__map_const_pointer __map_const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:918:81: note:
declared protected here
typedef typename allocator_traits<__const_pointer_allocator>::const_pointer __map_const_pointer;
^
In file included from /Users/sierra/git/kicad-app/kicad/common/hotkeys_basic.cpp:42:
In file included from /Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:29:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:912:49: error:
invalid application of 'sizeof' to an incomplete type 'value_type' (aka 'KIGFX::VC_SETTINGS')
static const difference_type __block_size = sizeof(value_type) < 256 ? 4096 / sizeof(value_type) : 16;
^~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1161:15: note:
in instantiation of template class 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >' requested here
: private __deque_base<_Tp, _Allocator>
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stack:111:22: note:
in instantiation of template class 'std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> >'
requested here
typedef typename container_type::value_type value_type;
^
/Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:517:36: note: in instantiation of template class
'std::__1::stack<KIGFX::VC_SETTINGS, std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> > >'
requested here
std::stack<KIGFX::VC_SETTINGS> m_vcStack;
^
/Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:44:12: note: forward declaration of 'KIGFX::VC_SETTINGS'
struct VC_SETTINGS;
^
In file included from /Users/sierra/git/kicad-app/kicad/common/hotkeys_basic.cpp:42:
In file included from /Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:29:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1171:30: error:
'__alloc_traits' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::__alloc_traits __alloc_traits;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stack:111:22: note:
in instantiation of template class 'std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> >'
requested here
typedef typename container_type::value_type value_type;
^
/Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:517:36: note: in instantiation of template class
'std::__1::stack<KIGFX::VC_SETTINGS, std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> > >'
requested here
std::stack<KIGFX::VC_SETTINGS> m_vcStack;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:904:54: note:
declared protected here
typedef allocator_traits<allocator_type> __alloc_traits;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1172:30: error:
'reference' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::reference reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:905:54: note:
declared protected here
typedef value_type& reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1173:30: error:
'const_reference' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::const_reference const_reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:906:54: note:
declared protected here
typedef const value_type& const_reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1174:30: error:
'iterator' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::iterator iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:922:64: note:
declared protected here
difference_type, __block_size> iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1175:30: error:
'const_iterator' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::const_iterator const_iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:924:64: note:
declared protected here
difference_type, __block_size> const_iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1176:30: error:
'size_type' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::size_type size_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:907:54: note:
declared protected here
typedef typename __alloc_traits::size_type size_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1177:30: error:
'difference_type' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::difference_type difference_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:908:54: note:
declared protected here
typedef typename __alloc_traits::difference_type difference_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1179:30: error:
'pointer' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::pointer pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:909:54: note:
declared protected here
typedef typename __alloc_traits::pointer pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1180:30: error:
'const_pointer' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::const_pointer const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:910:54: note:
declared protected here
typedef typename __alloc_traits::const_pointer const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1359:30: error:
'__map_const_pointer' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::__map_const_pointer __map_const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:918:81: note:
declared protected here
typedef typename allocator_traits<__const_pointer_allocator>::const_pointer __map_const_pointer;
^
In file included from /Users/sierra/git/kicad-app/kicad/common/zoom.cpp:43:
In file included from /Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:29:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:912:49: error:
invalid application of 'sizeof' to an incomplete type 'value_type' (aka 'KIGFX::VC_SETTINGS')
static const difference_type __block_size = sizeof(value_type) < 256 ? 4096 / sizeof(value_type) : 16;
^~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1161:15: note:
in instantiation of template class 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >' requested here
: private __deque_base<_Tp, _Allocator>
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stack:111:22: note:
in instantiation of template class 'std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> >'
requested here
typedef typename container_type::value_type value_type;
^
/Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:517:36: note: in instantiation of template class
'std::__1::stack<KIGFX::VC_SETTINGS, std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> > >'
requested here
std::stack<KIGFX::VC_SETTINGS> m_vcStack;
^
/Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:44:12: note: forward declaration of 'KIGFX::VC_SETTINGS'
struct VC_SETTINGS;
^
In file included from /Users/sierra/git/kicad-app/kicad/common/zoom.cpp:43:
In file included from /Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:29:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1171:30: error:
'__alloc_traits' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::__alloc_traits __alloc_traits;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stack:111:22: note:
in instantiation of template class 'std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> >'
requested here
typedef typename container_type::value_type value_type;
^
/Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:517:36: note: in instantiation of template class
'std::__1::stack<KIGFX::VC_SETTINGS, std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> > >'
requested here
std::stack<KIGFX::VC_SETTINGS> m_vcStack;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:904:54: note:
declared protected here
typedef allocator_traits<allocator_type> __alloc_traits;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1172:30: error:
'reference' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::reference reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:905:54: note:
declared protected here
typedef value_type& reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1173:30: error:
'const_reference' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::const_reference const_reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:906:54: note:
declared protected here
typedef const value_type& const_reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1174:30: error:
'iterator' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::iterator iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:922:64: note:
declared protected here
difference_type, __block_size> iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1175:30: error:
'const_iterator' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::const_iterator const_iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:924:64: note:
declared protected here
difference_type, __block_size> const_iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1176:30: error:
'size_type' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::size_type size_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:907:54: note:
declared protected here
typedef typename __alloc_traits::size_type size_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1177:30: error:
'difference_type' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::difference_type difference_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:908:54: note:
declared protected here
typedef typename __alloc_traits::difference_type difference_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1179:30: error:
'pointer' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::pointer pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:909:54: note:
declared protected here
typedef typename __alloc_traits::pointer pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1180:30: error:
'const_pointer' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::const_pointer const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:910:54: note:
declared protected here
typedef typename __alloc_traits::const_pointer const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1359:30: error:
'__map_const_pointer' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::__map_const_pointer __map_const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:918:81: note:
declared protected here
typedef typename allocator_traits<__const_pointer_allocator>::const_pointer __map_const_pointer;
^
11 errors generated.
make[2]: *** [common/CMakeFiles/common.dir/hotkeys_basic.cpp.o] Error 1
11 errors generated.
make[2]: *** [common/CMakeFiles/common.dir/zoom.cpp.o] Error 1
In file included from /Users/sierra/git/kicad-app/kicad/common/tool/tool_dispatcher.cpp:28:
In file included from /Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:29:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:912:49: error:
invalid application of 'sizeof' to an incomplete type 'value_type' (aka 'KIGFX::VC_SETTINGS')
static const difference_type __block_size = sizeof(value_type) < 256 ? 4096 / sizeof(value_type) : 16;
^~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1161:15: note:
in instantiation of template class 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >' requested here
: private __deque_base<_Tp, _Allocator>
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stack:111:22: note:
in instantiation of template class 'std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> >'
requested here
typedef typename container_type::value_type value_type;
^
/Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:517:36: note: in instantiation of template class
'std::__1::stack<KIGFX::VC_SETTINGS, std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> > >'
requested here
std::stack<KIGFX::VC_SETTINGS> m_vcStack;
^
/Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:44:12: note: forward declaration of 'KIGFX::VC_SETTINGS'
struct VC_SETTINGS;
^
In file included from /Users/sierra/git/kicad-app/kicad/common/tool/tool_dispatcher.cpp:28:
In file included from /Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:29:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1171:30: error:
'__alloc_traits' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::__alloc_traits __alloc_traits;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stack:111:22: note:
in instantiation of template class 'std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> >'
requested here
typedef typename container_type::value_type value_type;
^
/Users/sierra/git/kicad-app/kicad/include/tool/tool_manager.h:517:36: note: in instantiation of template class
'std::__1::stack<KIGFX::VC_SETTINGS, std::__1::deque<KIGFX::VC_SETTINGS, std::__1::allocator<KIGFX::VC_SETTINGS> > >'
requested here
std::stack<KIGFX::VC_SETTINGS> m_vcStack;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:904:54: note:
declared protected here
typedef allocator_traits<allocator_type> __alloc_traits;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1172:30: error:
'reference' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::reference reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:905:54: note:
declared protected here
typedef value_type& reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1173:30: error:
'const_reference' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::const_reference const_reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:906:54: note:
declared protected here
typedef const value_type& const_reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1174:30: error:
'iterator' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::iterator iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:922:64: note:
declared protected here
difference_type, __block_size> iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1175:30: error:
'const_iterator' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::const_iterator const_iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:924:64: note:
declared protected here
difference_type, __block_size> const_iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1176:30: error:
'size_type' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::size_type size_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:907:54: note:
declared protected here
typedef typename __alloc_traits::size_type size_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1177:30: error:
'difference_type' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::difference_type difference_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:908:54: note:
declared protected here
typedef typename __alloc_traits::difference_type difference_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1179:30: error:
'pointer' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::pointer pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:909:54: note:
declared protected here
typedef typename __alloc_traits::pointer pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1180:30: error:
'const_pointer' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::const_pointer const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:910:54: note:
declared protected here
typedef typename __alloc_traits::const_pointer const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1359:30: error:
'__map_const_pointer' is a protected member of 'std::__1::__deque_base<KIGFX::VC_SETTINGS,
std::__1::allocator<KIGFX::VC_SETTINGS> >'
typedef typename __base::__map_const_pointer __map_const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:918:81: note:
declared protected here
typedef typename allocator_traits<__const_pointer_allocator>::const_pointer __map_const_pointer;
^
9 warnings and 11 errors generated.
make[2]: *** [common/CMakeFiles/pcbcommon.dir/__/pcbnew/basepcbframe.cpp.o] Error 1
make[1]: *** [common/CMakeFiles/pcbcommon.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
11 errors generated.
make[2]: *** [common/CMakeFiles/common.dir/tool/tool_base.cpp.o] Error 1
11 errors generated.
make[2]: *** [common/CMakeFiles/common.dir/tool/tool_dispatcher.cpp.o] Error 1
^Cmake[2]: *** [common/CMakeFiles/common.dir/tool/tool_manager.cpp.o] Interrupt: 2
make[1]: *** [common/CMakeFiles/common.dir/all] Interrupt: 2
Follow ups
References