Skip to content

Instantly share code, notes, and snippets.

@hugo-dc
Created February 24, 2020 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hugo-dc/73f8f7d31c5e7e665a0d27f3d1535c1d to your computer and use it in GitHub Desktop.
Save hugo-dc/73f8f7d31c5e7e665a0d27f3d1535c1d to your computer and use it in GitHub Desktop.
Scanning dependencies of target fizzy
[ 2%] Building CXX object lib/fizzy/CMakeFiles/fizzy.dir/execute.cpp.o
In file included from /usr/include/c++/7/vector:62:0,
from /engines/fizzy/lib/fizzy/types.hpp:7,
from /engines/fizzy/lib/fizzy/execute.hpp:4,
from /engines/fizzy/lib/fizzy/execute.cpp:1:
/usr/include/c++/7/bits/stl_construct.h: In instantiation of 'void std::_Construct(_T1*, _Args&& ...) [with _T1 = fizzy::Import; _Args = {const fizzy::Import&}]':
/usr/include/c++/7/bits/stl_uninitialized.h:83:18: required from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const fizzy::Import*, std::vector<fizzy::Import> >; _ForwardIterator = fizzy::Import*; bool _TrivialValueTypes = false]'
/usr/include/c++/7/bits/stl_uninitialized.h:134:15: required from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const fizzy::Import*, std::vector<fizzy::Import> >; _ForwardIterator = fizzy::Import*]'
/usr/include/c++/7/bits/stl_uninitialized.h:289:37: required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const fizzy::Import*, std::vector<fizzy::Import> >; _ForwardIterator = fizzy::Import*; _Tp = fizzy::Import]'
/usr/include/c++/7/bits/stl_vector.h:331:31: required from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = fizzy::Import; _Alloc = std::allocator<fizzy::Import>]'
/engines/fizzy/lib/fizzy/types.hpp:363:8: required from here
/usr/include/c++/7/bits/stl_construct.h:75:7: error: use of deleted function 'fizzy::Import::Import(const fizzy::Import&)'
{ ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /engines/fizzy/lib/fizzy/execute.hpp:4:0,
from /engines/fizzy/lib/fizzy/execute.cpp:1:
/engines/fizzy/lib/fizzy/types.hpp:295:8: note: 'fizzy::Import::Import(const fizzy::Import&)' is implicitly deleted because the default definition would be ill-formed:
struct Import
^~~~~~
/engines/fizzy/lib/fizzy/types.hpp:295:8: error: use of deleted function 'fizzy::Import::<unnamed union>::<constructor>(const fizzy::Import::<unnamed union>&)'
/engines/fizzy/lib/fizzy/types.hpp:301:5: note: 'fizzy::Import::<unnamed union>::<constructor>(const fizzy::Import::<unnamed union>&)' is implicitly deleted because the default definition would be ill-formed:
{
^
/engines/fizzy/lib/fizzy/types.hpp:303:16: error: union member 'fizzy::Import::<unnamed union>::memory' with non-trivial 'constexpr fizzy::Memory::Memory(const fizzy::Memory&)'
Memory memory;
^~~~~~
/engines/fizzy/lib/fizzy/types.hpp:305:15: error: union member 'fizzy::Import::<unnamed union>::table' with non-trivial 'constexpr fizzy::Table::Table(const fizzy::Table&)'
Table table;
^~~~~
lib/fizzy/CMakeFiles/fizzy.dir/build.make:62: recipe for target 'lib/fizzy/CMakeFiles/fizzy.dir/execute.cpp.o' failed
make[2]: *** [lib/fizzy/CMakeFiles/fizzy.dir/execute.cpp.o] Error 1
CMakeFiles/Makefile2:215: recipe for target 'lib/fizzy/CMakeFiles/fizzy.dir/all' failed
make[1]: *** [lib/fizzy/CMakeFiles/fizzy.dir/all] Error 2
make: *** [all] Error 2
Makefile:94: recipe for target 'all' failed
The command '/bin/sh -c cd fizzy && mkdir build && cd build && cmake -DFIZZY_TESTING=ON .. && cmake --build .' returned a non-zero code: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment