/in/foo.cc:14:22: error: ISO C++ forbids declaration of 'Append' with no type [-fpermissive]
SeqList::Append(int m)
^
/in/foo.cc:14:1: error: prototype for 'int SeqList::Append(int)' does not match any in class 'SeqList'
SeqList::Append(int m)
^~~~~~~
/in/foo.cc:10:7: error: candidate is: void SeqList::Append(int)
void Append(int m);
^~~~~~
/in/foo.cc:17:27: error: ISO C++ forbids declaration of 'Insert' with no type [-fpermissive]
SeqList::Insert(SeqList &s)
^
/in/foo.cc:17:1: error: prototype for 'int SeqList::Insert(SeqList&)' does not match any in class 'SeqList'
SeqList::Insert(SeqList &s)
^~~~~~~
/in/foo.cc:11:11: error: candidate is: SeqList* SeqList::Insert(SeqList&)
SeqList *Insert(SeqList &s);
^~~~~~
/in/foo.cc:20:22: error: ISO C++ forbids declaration of 'Search' with no type [-fpermissive]
SeqList::Search(int m)
^
/in/foo.cc: In member function 'int SeqList::Search(int)':
/in/foo.cc:22:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/in/foo.cc: At global scope:
/in/foo.cc:24:11: error: '::main' must return 'int'
void main()
^