All pastes #425414 Raw Edit

pulse00

public text v1 · immutable
·published 2007-04-05 13:59 UTC
rendered paste body
g++ -Wall -Wno-deprecated -o tester test.cpp Envelope.cpp Oscillator.cpp -lstk -ljack -lasound -lpthread -lm -lasound
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/ios_base.h: In copy constructor ‘std::basic_ios<char, std::char_traits<char> >::basic_ios(const std::basic_ios<char, std::char_traits<char> >&)’:
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/ios_base.h:779: error: ‘std::ios_base::ios_base(const std::ios_base&)’ is private
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:55: error: within this context
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd: In copy constructor ‘std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(const std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)’:
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:79: note: synthesized method ‘std::basic_ios<char, std::char_traits<char> >::basic_ios(const std::basic_ios<char, std::char_traits<char> >&)’ first required here 
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/streambuf: In copy constructor ‘std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::basic_stringbuf(const std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >&)’:
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/streambuf:781: error: ‘std::basic_streambuf<_CharT, _Traits>::basic_streambuf(const std::basic_streambuf<_CharT, _Traits>&) [with _CharT = char, _Traits = std::char_traits<char>]’ is private
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:71: error: within this context
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd: In copy constructor ‘std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(const std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)’:
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:79: note: synthesized method ‘std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::basic_stringbuf(const std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >&)’ first required here 
/usr/include/Stk.h: In copy constructor ‘Stk::Stk(const Stk&)’:
/usr/include/Stk.h:95: note: synthesized method ‘std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(const std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)’ first required here 
/usr/include/Generator.h: In copy constructor ‘Generator::Generator(const Generator&)’:
/usr/include/Generator.h:18: note: synthesized method ‘Stk::Stk(const Stk&)’ first required here 
/usr/include/SineWave.h: In copy constructor ‘SineWave::SineWave(const SineWave&)’:
/usr/include/SineWave.h:24: note: synthesized method ‘Generator::Generator(const Generator&)’ first required here 
Oscillator.h: In copy constructor ‘Oscillator::Oscillator(const Oscillator&)’:
Oscillator.h:12: note: synthesized method ‘SineWave::SineWave(const SineWave&)’ first required here 
test.cpp: In function ‘int main()’:
test.cpp:57: note: synthesized method ‘Oscillator::Oscillator(const Oscillator&)’ first required here 
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/ios_base.h: In member function ‘std::basic_ios<char, std::char_traits<char> >& std::basic_ios<char, std::char_traits<char> >::operator=(const std::basic_ios<char, std::char_traits<char> >&)’:
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:55:   instantiated from ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = Oscillator, _Alloc = std::allocator<Oscillator>]’
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_vector.h:610:   instantiated from ‘void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = Oscillator, _Alloc = std::allocator<Oscillator>]’
test.cpp:57:   instantiated from here
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/ios_base.h:782: error: ‘std::ios_base& std::ios_base::operator=(const std::ios_base&)’ is private
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:55: error: within this context
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd: In member function ‘std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::operator=(const std::basic_ostream<char, std::char_traits<char> >&)’:
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:64: note: synthesized method ‘std::basic_ios<char, std::char_traits<char> >& std::basic_ios<char, std::char_traits<char> >::operator=(const std::basic_ios<char, std::char_traits<char> >&)’ first required here 
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd: In member function ‘std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >& std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::operator=(const std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)’:
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:79: note: synthesized method ‘std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::operator=(const std::basic_ostream<char, std::char_traits<char> >&)’ first required here 
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/streambuf: In member function ‘std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >& std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::operator=(const std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >&)’:
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/streambuf:789: error: ‘std::basic_streambuf<_CharT, _Traits>& std::basic_streambuf<_CharT, _Traits>::operator=(const std::basic_streambuf<_CharT, _Traits>&) [with _CharT = char, _Traits = std::char_traits<char>]’ is private
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:71: error: within this context
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd: In member function ‘std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >& std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::operator=(const std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)’:
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:79:   instantiated from ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = Oscillator, _Alloc = std::allocator<Oscillator>]’
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_vector.h:610:   instantiated from ‘void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = Oscillator, _Alloc = std::allocator<Oscillator>]’
test.cpp:57:   instantiated from here
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:79: note: synthesized method ‘std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >& std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::operator=(const std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >&)’ first required here 
/usr/include/Stk.h: In member function ‘Stk& Stk::operator=(const Stk&)’:
/usr/include/Stk.h:95: note: synthesized method ‘std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >& std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::operator=(const std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)’ first required here 
/usr/include/Generator.h: In member function ‘Generator& Generator::operator=(const Generator&)’:
/usr/include/Generator.h:18: note: synthesized method ‘Stk& Stk::operator=(const Stk&)’ first required here 
/usr/include/SineWave.h: In member function ‘SineWave& SineWave::operator=(const SineWave&)’:
/usr/include/SineWave.h:24: note: synthesized method ‘Generator& Generator::operator=(const Generator&)’ first required here 
Oscillator.h: In member function ‘Oscillator& Oscillator::operator=(const Oscillator&)’:
Oscillator.h:12: note: synthesized method ‘SineWave& SineWave::operator=(const SineWave&)’ first required here 
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = Oscillator, _Alloc = std::allocator<Oscillator>]’:
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/vector.tcc:260: note: synthesized method ‘Oscillator& Oscillator::operator=(const Oscillator&)’ first required here 
make: *** [tester] Error 1