All pastes #757939 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-11-01 19:25 UTC
rendered paste body
zsak.h:26: error: 'std::istream& Zsak<ElemTipus>::operator>>(std::istream&, Zsak<ElemTipus>&)' must take exactly one argument
zsak.h:27: error: 'std::ostream& Zsak<ElemTipus>::operator<<(std::ostream&, Zsak<ElemTipus>&)' must take exactly one argument
zsak.h:31: error: 'lista' was not declared in this scope
zsak.h:31: error: '>>' should be '> >' within a nested template argument list
zsak.h:32: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Alloc> class std::list'
zsak.h:32: error:   expected a type, got 'lista_elemei'
zsak.h:32: error: template argument 2 is invalid
zsak.h:36: error: expected primary-expression before 'unio'
zsak.h:36: error: ISO C++ forbids declaration of 'type name' with no type
zsak.h:36: error: '' is neither function nor member function; cannot be declared friend
zsak.h:36: error: expected ';' before 'unio'
zsak.h:26: error: 'std::istream& Zsak<ElemTipus>::operator>>(std::istream&, Zsak<ElemTipus>&)' must take exactly one argument
zsak.h:27: error: 'std::ostream& Zsak<ElemTipus>::operator<<(std::ostream&, Zsak<ElemTipus>&)' must take exactly one argument
zsak.h:31: error: 'lista' was not declared in this scope
zsak.h:31: error: '>>' should be '> >' within a nested template argument list
zsak.h:32: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Alloc> class std::list'
zsak.h:32: error:   expected a type, got 'lista_elemei'
zsak.h:32: error: template argument 2 is invalid
zsak.h:36: error: expected primary-expression before 'unio'
zsak.h:36: error: ISO C++ forbids declaration of 'type name' with no type
zsak.h:36: error: '' is neither function nor member function; cannot be declared friend
zsak.h:36: error: expected ';' before 'unio'
zsak.cpp:5: error: default argument given for parameter 2 of 'void Zsak<ElemTipus>::add(ElemTipus&, int)'
zsak.h:23: error: after previous specification in 'void Zsak<ElemTipus>::add(ElemTipus&, int)'
zsak.cpp: In member function 'void Zsak<ElemTipus>::add(ElemTipus&, int)':
zsak.cpp:7: error: missing template arguments before 'tmp'
zsak.cpp:7: error: expected `;' before 'tmp'
zsak.cpp:16: error: missing template arguments before '.' token
zsak.cpp:17: error: missing template arguments before '.' token
zsak.cpp:18: error: missing template arguments before ')' token
zsak.cpp:19: error: expected unqualified-id before '.' token
zsak.cpp: In member function 'void Zsak<ElemTipus>::remove(ElemTipus&)':
zsak.cpp:35: error: expected unqualified-id before '.' token
zsak.cpp: In member function 'int Zsak<ElemTipus>::mul(ElemTipus&)':
zsak.cpp:50: error: expected primary-expression before '.' token
zsak.cpp: At global scope:
zsak.cpp:55: error: 'std::istream& Zsak<ElemTipus>::operator>>(std::istream&, Zsak<ElemTipus>)' must take exactly one argument
zsak.cpp:55: error: prototype for 'std::istream& Zsak<ElemTipus>::operator>>(std::istream&, Zsak<ElemTipus>)' does not match any in class 'Zsak<ElemTipus>'
zsak.h:26: error: candidate is: std::istream& Zsak<ElemTipus>::operator>>(std::istream&, Zsak<ElemTipus>&)
zsak.cpp:55: error: template definition of non-template 'std::istream& Zsak<ElemTipus>::operator>>(std::istream&, Zsak<ElemTipus>)'
zsak.cpp: In member function 'std::istream& Zsak<ElemTipus>::operator>>(std::istream&, Zsak<ElemTipus>)':
zsak.cpp:57: error: missing template arguments before 'tmp'
zsak.cpp:57: error: expected `;' before 'tmp'
zsak.cpp:58: error: 'tmp' was not declared in this scope
zsak.cpp: At global scope:
zsak.cpp:64: error: 'std::ostream& Zsak<ElemTipus>::operator<<(std::ostream&, Zsak<ElemTipus>)' must take exactly one argument
zsak.cpp:64: error: prototype for 'std::ostream& Zsak<ElemTipus>::operator<<(std::ostream&, Zsak<ElemTipus>)' does not match any in class 'Zsak<ElemTipus>'
zsak.h:27: error: candidate is: std::ostream& Zsak<ElemTipus>::operator<<(std::ostream&, Zsak<ElemTipus>&)
zsak.cpp:64: error: template definition of non-template 'std::ostream& Zsak<ElemTipus>::operator<<(std::ostream&, Zsak<ElemTipus>)'
zsak.cpp: In member function 'std::ostream& Zsak<ElemTipus>::operator<<(std::ostream&, Zsak<ElemTipus>)':
zsak.cpp:69: error: base operand of '->' is not a pointer
zsak.cpp:69: error: base operand of '->' is not a pointer
zsak.cpp:74: error: expected primary-expression before 'template'
zsak.cpp:74: error: expected `;' before 'template'
zsak.cpp:114: error: expected primary-expression before 'template'
zsak.cpp:114: error: expected `;' before 'template'
zsak.cpp:121: error: expected `}' at end of input
zsak.cpp:121: error: expected `}' at end of input