Created
November 17, 2010 19:51
-
-
Save kpuputti/703944 to your computer and use it in GitHub Desktop.
compile errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make test | |
g++ -std=c++98 -Wall -Wextra -g -D_GLIBCXX_DEBUG -Isample -lpthread -I.. -I../gtest -I../gtest/include ../gtest/src/gtest-all.cc gtest_main.a ../basic_functions/guest.cpp ../basic_functions/party.cpp ../basic_functions/table.cpp ../basic_functions/wish.cpp test_guests.cc test_tables.cc test_wishes.cc test_party.cc -o test | |
In file included from ../basic_functions/guest.h:15, | |
from ../basic_functions/party.h:13, | |
from ../basic_functions/guest.cpp:15: | |
../basic_functions/wish.h:102: error: expected ‘)’ before ‘&’ token | |
../basic_functions/wish.h:137: error: ISO C++ forbids declaration of ‘Guest’ with no type | |
../basic_functions/wish.h:137: error: expected ‘;’ before ‘&’ token | |
../basic_functions/wish.h:146: error: ‘Tablegroup’ was not declared in this scope | |
../basic_functions/wish.h:146: error: template argument 1 is invalid | |
../basic_functions/wish.h:146: error: template argument 2 is invalid | |
In file included from ../basic_functions/party.h:13, | |
from ../basic_functions/guest.cpp:15: | |
../basic_functions/guest.h:46: error: expected ‘)’ before ‘&’ token | |
../basic_functions/guest.h:113: error: ‘Wish’ was not declared in this scope | |
../basic_functions/guest.h:113: error: template argument 1 is invalid | |
../basic_functions/guest.h:113: error: template argument 2 is invalid | |
../basic_functions/guest.h:120: error: ISO C++ forbids declaration of ‘Party’ with no type | |
../basic_functions/guest.h:120: error: expected ‘;’ before ‘&’ token | |
In file included from ../basic_functions/guest.cpp:15: | |
../basic_functions/party.h: In constructor ‘Party::Party(std::string)’: | |
../basic_functions/party.h:30: error: no matching function for call to ‘Guestlist::Guestlist(Party* const)’ | |
../basic_functions/guest.h:123: note: candidates are: Guestlist::Guestlist(const Guestlist&) | |
../basic_functions/party.h:30: error: no matching function for call to ‘Tablelist::Tablelist(Party* const)’ | |
../basic_functions/table.h:129: note: candidates are: Tablelist::Tablelist(const Tablelist&) | |
../basic_functions/table.h:88: note: Tablelist::Tablelist(Party&) | |
../basic_functions/guest.cpp: In member function ‘int Guestlist::add(std::string, int, std::string, std::string, std::string)’: | |
../basic_functions/guest.cpp:41: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x | |
../basic_functions/guest.cpp:42: error: no matching function for call to ‘std::__debug::map<long unsigned int, Guestlist::Guest, std::less<long unsigned int>, std::allocator<std::pair<const long unsigned int, Guestlist::Guest> > >::insert(size_t&, Guestlist::Guest&)’ | |
/usr/include/c++/4.4/debug/map.h:201: note: candidates are: std::pair<__gnu_debug::_Safe_iterator<typename std::__norm::map<_Key, _Tp, _Compare, _Alloc>::iterator, std::__debug::map<_Key, _Tp, _Compare, _Allocator> >, bool> std::__debug::map<_Key, _Tp, _Compare, _Allocator>::insert(const std::pair<const _Key, _Tp>&) [with _Key = long unsigned int, _Tp = Guestlist::Guest, _Compare = std::less<long unsigned int>, _Allocator = std::allocator<std::pair<const long unsigned int, Guestlist::Guest> >] | |
/usr/include/c++/4.4/debug/map.h:216: note: __gnu_debug::_Safe_iterator<typename std::__norm::map<_Key, _Tp, _Compare, _Alloc>::iterator, std::__debug::map<_Key, _Tp, _Compare, _Allocator> > std::__debug::map<_Key, _Tp, _Compare, _Allocator>::insert(__gnu_debug::_Safe_iterator<typename std::__norm::map<_Key, _Tp, _Compare, _Alloc>::iterator, std::__debug::map<_Key, _Tp, _Compare, _Allocator> >, const std::pair<const _Key, _Tp>&) [with _Key = long unsigned int, _Tp = Guestlist::Guest, _Compare = std::less<long unsigned int>, _Allocator = std::allocator<std::pair<const long unsigned int, Guestlist::Guest> >] | |
../basic_functions/guest.cpp: In member function ‘bool Guestlist::readCSV(std::string)’: | |
../basic_functions/guest.cpp:71: error: invalid conversion from ‘const char*’ to ‘char*’ | |
../basic_functions/guest.cpp:73: error: ‘fopen’ was not declared in this scope | |
../basic_functions/guest.cpp:78: error: ‘fgets’ was not declared in this scope | |
../basic_functions/guest.cpp: At global scope: | |
../basic_functions/guest.cpp:94: error: expected constructor, destructor, or type conversion before ‘&’ token | |
../basic_functions/guest.cpp:105: error: expected constructor, destructor, or type conversion before ‘&’ token | |
../basic_functions/guest.cpp:118: error: ‘Wish’ was not declared in this scope | |
../basic_functions/guest.cpp:118: error: template argument 1 is invalid | |
../basic_functions/guest.cpp:118: error: template argument 2 is invalid | |
../basic_functions/guest.cpp: In member function ‘int Guestlist::getWishlist()’: | |
../basic_functions/guest.cpp:120: error: ‘Wish’ was not declared in this scope | |
../basic_functions/guest.cpp:120: error: template argument 1 is invalid | |
../basic_functions/guest.cpp:120: error: template argument 2 is invalid | |
../basic_functions/guest.cpp:120: error: invalid type in declaration before ‘;’ token | |
../basic_functions/guest.cpp:125: error: request for member ‘push_back’ in ‘temp’, which is of non-class type ‘int’ | |
In file included from ../basic_functions/guest.h:15, | |
from ../basic_functions/party.h:13, | |
from ../basic_functions/party.cpp:2: | |
../basic_functions/wish.h:102: error: expected ‘)’ before ‘&’ token | |
../basic_functions/wish.h:137: error: ISO C++ forbids declaration of ‘Guest’ with no type | |
../basic_functions/wish.h:137: error: expected ‘;’ before ‘&’ token | |
../basic_functions/wish.h:146: error: ‘Tablegroup’ was not declared in this scope | |
../basic_functions/wish.h:146: error: template argument 1 is invalid | |
../basic_functions/wish.h:146: error: template argument 2 is invalid | |
In file included from ../basic_functions/party.h:13, | |
from ../basic_functions/party.cpp:2: | |
../basic_functions/guest.h:46: error: expected ‘)’ before ‘&’ token | |
../basic_functions/guest.h:113: error: ‘Wish’ was not declared in this scope | |
../basic_functions/guest.h:113: error: template argument 1 is invalid | |
../basic_functions/guest.h:113: error: template argument 2 is invalid | |
../basic_functions/guest.h:120: error: ISO C++ forbids declaration of ‘Party’ with no type | |
../basic_functions/guest.h:120: error: expected ‘;’ before ‘&’ token | |
In file included from ../basic_functions/party.cpp:2: | |
../basic_functions/party.h: In constructor ‘Party::Party(std::string)’: | |
../basic_functions/party.h:30: error: no matching function for call to ‘Guestlist::Guestlist(Party* const)’ | |
../basic_functions/guest.h:123: note: candidates are: Guestlist::Guestlist(const Guestlist&) | |
../basic_functions/party.h:30: error: no matching function for call to ‘Tablelist::Tablelist(Party* const)’ | |
../basic_functions/table.h:129: note: candidates are: Tablelist::Tablelist(const Tablelist&) | |
../basic_functions/table.h:88: note: Tablelist::Tablelist(Party&) | |
../basic_functions/party.cpp: At global scope: | |
../basic_functions/party.cpp:14: error: declaration of ‘bool Party::save(std::string) const’ outside of class is not definition | |
../basic_functions/party.cpp:22: error: declaration of ‘bool Party::load(std::string)’ outside of class is not definition | |
In file included from ../basic_functions/guest.h:14, | |
from ../basic_functions/wish.cpp:5: | |
../basic_functions/party.h:61: error: ISO C++ forbids declaration of ‘Guestlist’ with no type | |
../basic_functions/party.h:61: error: expected ‘;’ before ‘&’ token | |
../basic_functions/party.h:86: error: ‘Guestlist’ does not name a type | |
../basic_functions/party.h: In constructor ‘Party::Party(std::string)’: | |
../basic_functions/party.h:30: error: class ‘Party’ does not have any field named ‘guests’ | |
../basic_functions/party.h:30: error: no matching function for call to ‘Tablelist::Tablelist(Party* const)’ | |
../basic_functions/table.h:129: note: candidates are: Tablelist::Tablelist(const Tablelist&) | |
../basic_functions/table.h:88: note: Tablelist::Tablelist(Party&) | |
In file included from ../basic_functions/guest.h:15, | |
from ../basic_functions/wish.cpp:5: | |
../basic_functions/wish.h: At global scope: | |
../basic_functions/wish.h:102: error: expected ‘)’ before ‘&’ token | |
../basic_functions/wish.h:137: error: ISO C++ forbids declaration of ‘Guest’ with no type | |
../basic_functions/wish.h:137: error: expected ‘;’ before ‘&’ token | |
../basic_functions/wish.h:146: error: ‘Tablegroup’ was not declared in this scope | |
../basic_functions/wish.h:146: error: template argument 1 is invalid | |
../basic_functions/wish.h:146: error: template argument 2 is invalid | |
In file included from ../basic_functions/wish.cpp:5: | |
../basic_functions/guest.h:113: error: ‘Wish’ was not declared in this scope | |
../basic_functions/guest.h:113: error: template argument 1 is invalid | |
../basic_functions/guest.h:113: error: template argument 2 is invalid | |
../basic_functions/guest.h: In constructor ‘Guestlist::Guestlist(Party&)’: | |
../basic_functions/guest.h:46: error: ‘size_t Guestlist::new_id’ is a static data member; it can only be initialized at its definition | |
../basic_functions/guest.h:46: error: no matching function for call to ‘Wishlist::Wishlist(Guestlist* const)’ | |
../basic_functions/wish.h:83: note: candidates are: Wishlist::Wishlist() | |
../basic_functions/wish.h:83: note: Wishlist::Wishlist(const Wishlist&) | |
../basic_functions/wish.cpp: At global scope: | |
../basic_functions/wish.cpp:13: error: redefinition of ‘struct Tablegroups’ | |
../basic_functions/wish.h:22: error: previous definition of ‘struct Tablegroups’ | |
../basic_functions/wish.cpp:74: error: redefinition of ‘class Wishlist’ | |
../basic_functions/wish.h:83: error: previous definition of ‘class Wishlist’ | |
../basic_functions/wish.cpp:135: error: expected unqualified-id at end of input | |
In file included from ../basic_functions/guest.h:15, | |
from ../basic_functions/party.h:13, | |
from test_guests.cc:1: | |
../basic_functions/wish.h:102: error: expected ‘)’ before ‘&’ token | |
../basic_functions/wish.h:137: error: ISO C++ forbids declaration of ‘Guest’ with no type | |
../basic_functions/wish.h:137: error: expected ‘;’ before ‘&’ token | |
../basic_functions/wish.h:146: error: ‘Tablegroup’ was not declared in this scope | |
../basic_functions/wish.h:146: error: template argument 1 is invalid | |
../basic_functions/wish.h:146: error: template argument 2 is invalid | |
In file included from ../basic_functions/party.h:13, | |
from test_guests.cc:1: | |
../basic_functions/guest.h:46: error: expected ‘)’ before ‘&’ token | |
../basic_functions/guest.h:113: error: ‘Wish’ was not declared in this scope | |
../basic_functions/guest.h:113: error: template argument 1 is invalid | |
../basic_functions/guest.h:113: error: template argument 2 is invalid | |
../basic_functions/guest.h:120: error: ISO C++ forbids declaration of ‘Party’ with no type | |
../basic_functions/guest.h:120: error: expected ‘;’ before ‘&’ token | |
In file included from test_guests.cc:1: | |
../basic_functions/party.h: In constructor ‘Party::Party(std::string)’: | |
../basic_functions/party.h:30: error: no matching function for call to ‘Guestlist::Guestlist(Party* const)’ | |
../basic_functions/guest.h:123: note: candidates are: Guestlist::Guestlist(const Guestlist&) | |
../basic_functions/party.h:30: error: no matching function for call to ‘Tablelist::Tablelist(Party* const)’ | |
../basic_functions/table.h:129: note: candidates are: Tablelist::Tablelist(const Tablelist&) | |
../basic_functions/table.h:88: note: Tablelist::Tablelist(Party&) | |
test_guests.cc: In member function ‘virtual void GuestTest_add_Test::TestBody()’: | |
test_guests.cc:10: error: ‘class Party’ has no member named ‘addGuest’ | |
test_guests.cc:13: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc: In member function ‘virtual void GuestTest_importGuests_Test::TestBody()’: | |
test_guests.cc:26: error: ‘class Party’ has no member named ‘importGuests’ | |
test_guests.cc:28: error: ‘class Party’ has no member named ‘numGuests’ | |
test_guests.cc:28: error: template argument 1 is invalid | |
test_guests.cc:28: error: ‘class Party’ has no member named ‘numGuests’ | |
test_guests.cc:30: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:30: error: template argument 1 is invalid | |
test_guests.cc:30: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:31: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:31: error: template argument 1 is invalid | |
test_guests.cc:31: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:32: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:32: error: template argument 1 is invalid | |
test_guests.cc:32: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:33: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:33: error: template argument 1 is invalid | |
test_guests.cc:33: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:34: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:34: error: template argument 1 is invalid | |
test_guests.cc:34: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:36: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:36: error: template argument 1 is invalid | |
test_guests.cc:36: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:37: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:37: error: template argument 1 is invalid | |
test_guests.cc:37: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:38: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:38: error: template argument 1 is invalid | |
test_guests.cc:38: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:39: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:39: error: template argument 1 is invalid | |
test_guests.cc:39: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:40: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:40: error: template argument 1 is invalid | |
test_guests.cc:40: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:42: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:42: error: template argument 1 is invalid | |
test_guests.cc:42: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:43: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:43: error: template argument 1 is invalid | |
test_guests.cc:43: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:44: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:44: error: template argument 1 is invalid | |
test_guests.cc:44: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:45: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:45: error: template argument 1 is invalid | |
test_guests.cc:45: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:46: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:46: error: template argument 1 is invalid | |
test_guests.cc:46: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc: In member function ‘virtual void GuestTest_remove_Test::TestBody()’: | |
test_guests.cc:53: error: ‘class Party’ has no member named ‘importGuests’ | |
test_guests.cc:54: error: ‘class Party’ has no member named ‘numGuests’ | |
test_guests.cc:54: error: template argument 1 is invalid | |
test_guests.cc:54: error: ‘class Party’ has no member named ‘numGuests’ | |
test_guests.cc:55: error: ‘class Party’ has no member named ‘removeGuest’ | |
test_guests.cc:56: error: ‘class Party’ has no member named ‘numGuests’ | |
test_guests.cc:56: error: template argument 1 is invalid | |
test_guests.cc:56: error: ‘class Party’ has no member named ‘numGuests’ | |
test_guests.cc:57: error: ‘class Party’ has no member named ‘getGuest’ | |
test_guests.cc:58: error: ‘class Party’ has no member named ‘findGuest’ | |
test_guests.cc:58: error: template argument 1 is invalid | |
test_guests.cc:58: error: ‘class Party’ has no member named ‘findGuest’ | |
test_guests.cc:59: error: ‘class Party’ has no member named ‘isGuest’ | |
test_guests.cc:60: error: expected ‘;’ before ‘}’ token | |
test_guests.cc: In member function ‘virtual void GuestTest_find_Test::TestBody()’: | |
test_guests.cc:65: error: ‘class Party’ has no member named ‘importGuests’ | |
test_guests.cc:66: error: ‘class Party’ has no member named ‘numGuests’ | |
test_guests.cc:66: error: template argument 1 is invalid | |
test_guests.cc:66: error: ‘class Party’ has no member named ‘numGuests’ | |
test_guests.cc:67: error: ‘class Party’ has no member named ‘findGuest’ | |
test_guests.cc:67: error: template argument 1 is invalid | |
test_guests.cc:67: error: ‘class Party’ has no member named ‘findGuest’ | |
test_guests.cc:68: error: ‘class Party’ has no member named ‘findGuest’ | |
test_guests.cc:68: error: template argument 1 is invalid | |
test_guests.cc:68: error: ‘class Party’ has no member named ‘findGuest’ | |
test_guests.cc:69: error: ‘class Party’ has no member named ‘findGuest’ | |
test_guests.cc:69: error: template argument 1 is invalid | |
test_guests.cc:69: error: ‘class Party’ has no member named ‘findGuest’ | |
In file included from ../basic_functions/guest.h:15, | |
from ../basic_functions/party.h:13, | |
from test_tables.cc:1: | |
../basic_functions/wish.h:102: error: expected ‘)’ before ‘&’ token | |
../basic_functions/wish.h:137: error: ISO C++ forbids declaration of ‘Guest’ with no type | |
../basic_functions/wish.h:137: error: expected ‘;’ before ‘&’ token | |
../basic_functions/wish.h:146: error: ‘Tablegroup’ was not declared in this scope | |
../basic_functions/wish.h:146: error: template argument 1 is invalid | |
../basic_functions/wish.h:146: error: template argument 2 is invalid | |
In file included from ../basic_functions/party.h:13, | |
from test_tables.cc:1: | |
../basic_functions/guest.h:46: error: expected ‘)’ before ‘&’ token | |
../basic_functions/guest.h:113: error: ‘Wish’ was not declared in this scope | |
../basic_functions/guest.h:113: error: template argument 1 is invalid | |
../basic_functions/guest.h:113: error: template argument 2 is invalid | |
../basic_functions/guest.h:120: error: ISO C++ forbids declaration of ‘Party’ with no type | |
../basic_functions/guest.h:120: error: expected ‘;’ before ‘&’ token | |
In file included from test_tables.cc:1: | |
../basic_functions/party.h: In constructor ‘Party::Party(std::string)’: | |
../basic_functions/party.h:30: error: no matching function for call to ‘Guestlist::Guestlist(Party* const)’ | |
../basic_functions/guest.h:123: note: candidates are: Guestlist::Guestlist(const Guestlist&) | |
../basic_functions/party.h:30: error: no matching function for call to ‘Tablelist::Tablelist(Party* const)’ | |
../basic_functions/table.h:129: note: candidates are: Tablelist::Tablelist(const Tablelist&) | |
../basic_functions/table.h:88: note: Tablelist::Tablelist(Party&) | |
test_tables.cc: In member function ‘virtual void TableTest_add_Test::TestBody()’: | |
test_tables.cc:10: error: ‘class Party’ has no member named ‘addTable’ | |
test_tables.cc:12: error: ‘class Party’ has no member named ‘addTable’ | |
test_tables.cc:14: error: ‘class Party’ has no member named ‘addTable’ | |
test_tables.cc:16: error: ‘class Party’ has no member named ‘addTable’ | |
test_tables.cc:16: error: template argument 1 is invalid | |
test_tables.cc:16: error: ‘class Party’ has no member named ‘addTable’ | |
test_tables.cc:18: error: ‘class Party’ has no member named ‘numTables’ | |
test_tables.cc:18: error: template argument 1 is invalid | |
test_tables.cc:18: error: ‘class Party’ has no member named ‘numTables’ | |
test_tables.cc:20: error: ‘class Party’ has no member named ‘tableSize’ | |
test_tables.cc:20: error: template argument 1 is invalid | |
test_tables.cc:20: error: ‘class Party’ has no member named ‘tableSize’ | |
test_tables.cc:21: error: ‘class Party’ has no member named ‘tableSize’ | |
test_tables.cc:21: error: template argument 1 is invalid | |
test_tables.cc:21: error: ‘class Party’ has no member named ‘tableSize’ | |
test_tables.cc:22: error: ‘class Party’ has no member named ‘tableSize’ | |
test_tables.cc:22: error: template argument 1 is invalid | |
test_tables.cc:22: error: ‘class Party’ has no member named ‘tableSize’ | |
test_tables.cc:24: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:24: error: template argument 1 is invalid | |
test_tables.cc:24: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:25: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:25: error: template argument 1 is invalid | |
test_tables.cc:25: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:26: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:26: error: template argument 1 is invalid | |
test_tables.cc:26: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:27: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:27: error: template argument 1 is invalid | |
test_tables.cc:27: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:28: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:28: error: template argument 1 is invalid | |
test_tables.cc:28: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:29: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:29: error: template argument 1 is invalid | |
test_tables.cc:29: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:30: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:30: error: template argument 1 is invalid | |
test_tables.cc:30: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:31: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:31: error: template argument 1 is invalid | |
test_tables.cc:31: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:32: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:32: error: template argument 1 is invalid | |
test_tables.cc:32: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:33: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:33: error: template argument 1 is invalid | |
test_tables.cc:33: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc: In member function ‘virtual void TableTest_modify_Test::TestBody()’: | |
test_tables.cc:41: error: ‘class Party’ has no member named ‘addTable’ | |
test_tables.cc:44: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:45: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:45: error: template argument 1 is invalid | |
test_tables.cc:45: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:46: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:47: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:47: error: template argument 1 is invalid | |
test_tables.cc:47: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc:48: error: ‘class Party’ has no member named ‘guest’ | |
test_tables.cc: In member function ‘virtual void TableTest_remove_Test::TestBody()’: | |
test_tables.cc:56: error: ‘class Party’ has no member named ‘addTable’ | |
test_tables.cc:58: error: ‘class Party’ has no member named ‘addTable’ | |
test_tables.cc:60: error: ‘class Party’ has no member named ‘addTable’ | |
test_tables.cc:62: error: ‘class Party’ has no member named ‘numTables’ | |
test_tables.cc:62: error: template argument 1 is invalid | |
test_tables.cc:62: error: ‘class Party’ has no member named ‘numTables’ | |
test_tables.cc:64: error: ‘class Party’ has no member named ‘removeTable’ | |
test_tables.cc:65: error: ‘class Party’ has no member named ‘numTables’ | |
test_tables.cc:65: error: template argument 1 is invalid | |
test_tables.cc:65: error: ‘class Party’ has no member named ‘numTables’ | |
test_tables.cc:66: error: ‘class Party’ has no member named ‘guest’ | |
In file included from ../basic_functions/guest.h:15, | |
from ../basic_functions/party.h:13, | |
from test_wishes.cc:1: | |
../basic_functions/wish.h:102: error: expected ‘)’ before ‘&’ token | |
../basic_functions/wish.h:137: error: ISO C++ forbids declaration of ‘Guest’ with no type | |
../basic_functions/wish.h:137: error: expected ‘;’ before ‘&’ token | |
../basic_functions/wish.h:146: error: ‘Tablegroup’ was not declared in this scope | |
../basic_functions/wish.h:146: error: template argument 1 is invalid | |
../basic_functions/wish.h:146: error: template argument 2 is invalid | |
In file included from ../basic_functions/party.h:13, | |
from test_wishes.cc:1: | |
../basic_functions/guest.h:46: error: expected ‘)’ before ‘&’ token | |
../basic_functions/guest.h:113: error: ‘Wish’ was not declared in this scope | |
../basic_functions/guest.h:113: error: template argument 1 is invalid | |
../basic_functions/guest.h:113: error: template argument 2 is invalid | |
../basic_functions/guest.h:120: error: ISO C++ forbids declaration of ‘Party’ with no type | |
../basic_functions/guest.h:120: error: expected ‘;’ before ‘&’ token | |
In file included from test_wishes.cc:1: | |
../basic_functions/party.h: In constructor ‘Party::Party(std::string)’: | |
../basic_functions/party.h:30: error: no matching function for call to ‘Guestlist::Guestlist(Party* const)’ | |
../basic_functions/guest.h:123: note: candidates are: Guestlist::Guestlist(const Guestlist&) | |
../basic_functions/party.h:30: error: no matching function for call to ‘Tablelist::Tablelist(Party* const)’ | |
../basic_functions/table.h:129: note: candidates are: Tablelist::Tablelist(const Tablelist&) | |
../basic_functions/table.h:88: note: Tablelist::Tablelist(Party&) | |
test_wishes.cc: In member function ‘virtual void WishTest_testilista_csv_Test::TestBody()’: | |
test_wishes.cc:11: error: ‘class Party’ has no member named ‘importGuests’ | |
test_wishes.cc:13: error: ‘class Party’ has no member named ‘numGuests’ | |
test_wishes.cc:13: error: template argument 1 is invalid | |
test_wishes.cc:13: error: ‘class Party’ has no member named ‘numGuests’ | |
test_wishes.cc:15: error: ‘class Party’ has no member named ‘createWishes’ | |
test_wishes.cc:16: error: ‘class Party’ has no member named ‘numWishes’ | |
test_wishes.cc:16: error: template argument 1 is invalid | |
test_wishes.cc:16: error: ‘class Party’ has no member named ‘numWishes’ | |
test_wishes.cc:18: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:18: error: template argument 1 is invalid | |
test_wishes.cc:18: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:19: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:19: error: template argument 1 is invalid | |
test_wishes.cc:19: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:20: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:20: error: template argument 1 is invalid | |
test_wishes.cc:20: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:22: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:22: error: template argument 1 is invalid | |
test_wishes.cc:22: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:23: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:23: error: template argument 1 is invalid | |
test_wishes.cc:23: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:24: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:24: error: template argument 1 is invalid | |
test_wishes.cc:24: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:26: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:26: error: template argument 1 is invalid | |
test_wishes.cc:26: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:27: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:27: error: template argument 1 is invalid | |
test_wishes.cc:27: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:28: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:28: error: template argument 1 is invalid | |
test_wishes.cc:28: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:30: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:31: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc: In member function ‘virtual void WishTest_manualTest_Test::TestBody()’: | |
test_wishes.cc:38: error: ‘class Party’ has no member named ‘addGuest’ | |
test_wishes.cc:39: error: ‘class Party’ has no member named ‘addGuest’ | |
test_wishes.cc:40: error: ‘class Party’ has no member named ‘addGuest’ | |
test_wishes.cc:42: error: ‘class Party’ has no member named ‘createWishes’ | |
test_wishes.cc:43: error: ‘class Party’ has no member named ‘removeGuest’ | |
test_wishes.cc:44: error: ‘class Party’ has no member named ‘addGuest’ | |
test_wishes.cc:46: error: ‘class Party’ has no member named ‘removeGuest’ | |
test_wishes.cc:47: error: ‘class Party’ has no member named ‘addGuest’ | |
test_wishes.cc:48: error: ‘class Party’ has no member named ‘createWishes’ | |
test_wishes.cc:49: error: ‘class Party’ has no member named ‘numWishes’ | |
test_wishes.cc:49: error: template argument 1 is invalid | |
test_wishes.cc:49: error: ‘class Party’ has no member named ‘numWishes’ | |
test_wishes.cc:51: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:51: error: template argument 1 is invalid | |
test_wishes.cc:51: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:52: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:52: error: template argument 1 is invalid | |
test_wishes.cc:52: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:54: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:54: error: template argument 1 is invalid | |
test_wishes.cc:54: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:55: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:55: error: template argument 1 is invalid | |
test_wishes.cc:55: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:57: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:57: error: template argument 1 is invalid | |
test_wishes.cc:57: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:58: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:58: error: template argument 1 is invalid | |
test_wishes.cc:58: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:59: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:59: error: template argument 1 is invalid | |
test_wishes.cc:59: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:60: error: ‘class Party’ has no member named ‘wish’ | |
test_wishes.cc:60: error: template argument 1 is invalid | |
test_wishes.cc:60: error: ‘class Party’ has no member named ‘wish’ | |
In file included from ../basic_functions/guest.h:15, | |
from ../basic_functions/party.h:13, | |
from test_party.cc:1: | |
../basic_functions/wish.h:102: error: expected ‘)’ before ‘&’ token | |
../basic_functions/wish.h:137: error: ISO C++ forbids declaration of ‘Guest’ with no type | |
../basic_functions/wish.h:137: error: expected ‘;’ before ‘&’ token | |
../basic_functions/wish.h:146: error: ‘Tablegroup’ was not declared in this scope | |
../basic_functions/wish.h:146: error: template argument 1 is invalid | |
../basic_functions/wish.h:146: error: template argument 2 is invalid | |
In file included from ../basic_functions/party.h:13, | |
from test_party.cc:1: | |
../basic_functions/guest.h:46: error: expected ‘)’ before ‘&’ token | |
../basic_functions/guest.h:113: error: ‘Wish’ was not declared in this scope | |
../basic_functions/guest.h:113: error: template argument 1 is invalid | |
../basic_functions/guest.h:113: error: template argument 2 is invalid | |
../basic_functions/guest.h:120: error: ISO C++ forbids declaration of ‘Party’ with no type | |
../basic_functions/guest.h:120: error: expected ‘;’ before ‘&’ token | |
In file included from test_party.cc:1: | |
../basic_functions/party.h: In constructor ‘Party::Party(std::string)’: | |
../basic_functions/party.h:30: error: no matching function for call to ‘Guestlist::Guestlist(Party* const)’ | |
../basic_functions/guest.h:123: note: candidates are: Guestlist::Guestlist(const Guestlist&) | |
../basic_functions/party.h:30: error: no matching function for call to ‘Tablelist::Tablelist(Party* const)’ | |
../basic_functions/table.h:129: note: candidates are: Tablelist::Tablelist(const Tablelist&) | |
../basic_functions/table.h:88: note: Tablelist::Tablelist(Party&) | |
test_party.cc: In member function ‘virtual void PartyTest_getname_Test::TestBody()’: | |
test_party.cc:8: error: ‘class Party’ has no member named ‘getName’ | |
test_party.cc:9: error: ‘class Party’ has no member named ‘setName’ | |
test_party.cc:10: error: ‘class Party’ has no member named ‘getName’ | |
test_party.cc: In member function ‘virtual void PartyTest_filltables_Test::TestBody()’: | |
test_party.cc:17: error: ‘class Party’ has no member named ‘importGuests’ | |
test_party.cc:19: error: ‘class Party’ has no member named ‘addTable’ | |
test_party.cc:21: error: ‘class Party’ has no member named ‘fillTables’ | |
test_party.cc:22: error: ‘class Party’ has no member named ‘guest’ | |
test_party.cc:23: error: ‘class Party’ has no member named ‘guest’ | |
test_party.cc:24: error: ‘class Party’ has no member named ‘guest’ | |
make: *** [all] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment