Created
December 16, 2011 01:22
-
-
Save amarshall/1483951 to your computer and use it in GitHub Desktop.
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 part1_test | |
g++ -Wall -Wextra -Werror -Wformat=2 -Wfloat-equal -Wshadow -Wwrite-strings -Winit-self -pedantic-errors -Wno-long-long -g -O0 -c Part1/test.cpp -o Part1/test.o | |
In file included from Part1/test.cpp:1: | |
Part1/List.hpp: In member function ‘bool cs540::List<T>::operator==(const cs540::List<T>&)’: | |
Part1/List.hpp:138: error: a function-definition is not allowed here before ‘{’ token | |
Part1/List.hpp:139: error: ‘bool cs540::operator<(const cs540::List<T>&)’ must take exactly two arguments | |
In file included from /usr/include/unistd.h:72, | |
from /usr/include/c++/4.2.1/bits/os_defines.h:61, | |
from /usr/include/c++/4.2.1/bits/c++config.h:41, | |
from /usr/include/c++/4.2.1/iostream:44, | |
from Part1/test.cpp:2: | |
/usr/include/sys/unistd.h: At global scope: | |
/usr/include/sys/unistd.h:142: error: multiple types in one declaration | |
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61, | |
from /usr/include/c++/4.2.1/bits/c++config.h:41, | |
from /usr/include/c++/4.2.1/iostream:44, | |
from Part1/test.cpp:2: | |
/usr/include/unistd.h:691: error: template argument required for ‘struct accessx_descriptor’ | |
In file included from /usr/include/c++/4.2.1/bits/c++locale.h:47, | |
from /usr/include/c++/4.2.1/iosfwd:45, | |
from /usr/include/c++/4.2.1/ios:43, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/clocale:59: error: ‘::lconv’ has not been declared | |
/usr/include/c++/4.2.1/clocale:60: error: ‘::setlocale’ has not been declared | |
/usr/include/c++/4.2.1/clocale:61: error: ‘::localeconv’ has not been declared | |
In file included from /usr/include/c++/4.2.1/cstring:51, | |
from /usr/include/c++/4.2.1/bits/c++locale.h:48, | |
from /usr/include/c++/4.2.1/iosfwd:45, | |
from /usr/include/c++/4.2.1/ios:43, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/cstddef:55: error: ‘::ptrdiff_t’ has not been declared | |
In file included from /usr/include/c++/4.2.1/bits/c++locale.h:48, | |
from /usr/include/c++/4.2.1/iosfwd:45, | |
from /usr/include/c++/4.2.1/ios:43, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/cstring:80: error: ‘::memcpy’ has not been declared | |
/usr/include/c++/4.2.1/cstring:81: error: ‘::memmove’ has not been declared | |
/usr/include/c++/4.2.1/cstring:82: error: ‘::strcpy’ has not been declared | |
/usr/include/c++/4.2.1/cstring:83: error: ‘::strncpy’ has not been declared | |
/usr/include/c++/4.2.1/cstring:84: error: ‘::strcat’ has not been declared | |
/usr/include/c++/4.2.1/cstring:85: error: ‘::strncat’ has not been declared | |
/usr/include/c++/4.2.1/cstring:86: error: ‘::memcmp’ has not been declared | |
/usr/include/c++/4.2.1/cstring:87: error: ‘::strcmp’ has not been declared | |
/usr/include/c++/4.2.1/cstring:88: error: ‘::strcoll’ has not been declared | |
/usr/include/c++/4.2.1/cstring:89: error: ‘::strncmp’ has not been declared | |
/usr/include/c++/4.2.1/cstring:90: error: ‘::strxfrm’ has not been declared | |
/usr/include/c++/4.2.1/cstring:91: error: ‘::strcspn’ has not been declared | |
/usr/include/c++/4.2.1/cstring:92: error: ‘::strspn’ has not been declared | |
/usr/include/c++/4.2.1/cstring:93: error: ‘::strtok’ has not been declared | |
/usr/include/c++/4.2.1/cstring:94: error: ‘::memset’ has not been declared | |
/usr/include/c++/4.2.1/cstring:95: error: ‘::strerror’ has not been declared | |
/usr/include/c++/4.2.1/cstring:96: error: ‘::strlen’ has not been declared | |
/usr/include/c++/4.2.1/cstring:98: error: ‘::memchr’ has not been declared | |
/usr/include/c++/4.2.1/cstring: In function ‘void* cs540::std::memchr(void*, int, size_t)’: | |
/usr/include/c++/4.2.1/cstring:102: error: invalid conversion from ‘const void*’ to ‘void*’ | |
/usr/include/c++/4.2.1/cstring: At global scope: | |
/usr/include/c++/4.2.1/cstring:104: error: ‘::strchr’ has not been declared | |
/usr/include/c++/4.2.1/cstring:110: error: ‘::strpbrk’ has not been declared | |
/usr/include/c++/4.2.1/cstring:116: error: ‘::strrchr’ has not been declared | |
/usr/include/c++/4.2.1/cstring:122: error: ‘::strstr’ has not been declared | |
In file included from /usr/include/c++/4.2.1/bits/c++locale.h:49, | |
from /usr/include/c++/4.2.1/iosfwd:45, | |
from /usr/include/c++/4.2.1/ios:43, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/cstdio:100: error: ‘::FILE’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:101: error: ‘::fpos_t’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:103: error: ‘::clearerr’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:104: error: ‘::fclose’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:105: error: ‘::feof’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:106: error: ‘::ferror’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:107: error: ‘::fflush’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:108: error: ‘::fgetc’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:109: error: ‘::fgetpos’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:110: error: ‘::fgets’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:111: error: ‘::fopen’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:112: error: ‘::fprintf’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:113: error: ‘::fputc’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:114: error: ‘::fputs’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:115: error: ‘::fread’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:116: error: ‘::freopen’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:117: error: ‘::fscanf’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:118: error: ‘::fseek’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:119: error: ‘::fsetpos’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:120: error: ‘::ftell’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:121: error: ‘::fwrite’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:122: error: ‘::getc’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:123: error: ‘::getchar’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:124: error: ‘::gets’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:125: error: ‘::perror’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:126: error: ‘::printf’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:127: error: ‘::putc’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:128: error: ‘::putchar’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:129: error: ‘::puts’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:130: error: ‘::remove’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:131: error: ‘::rename’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:132: error: ‘::rewind’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:133: error: ‘::scanf’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:134: error: ‘::setbuf’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:135: error: ‘::setvbuf’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:136: error: ‘::sprintf’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:137: error: ‘::sscanf’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:138: error: ‘::tmpfile’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:139: error: ‘::tmpnam’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:140: error: ‘::ungetc’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:141: error: ‘::vfprintf’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:142: error: ‘::vprintf’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:143: error: ‘::vsprintf’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:170: error: ‘::snprintf’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:171: error: ‘::vfscanf’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:172: error: ‘::vscanf’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:173: error: ‘::vsnprintf’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:174: error: ‘::vsscanf’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:181: error: ‘::__gnu_cxx’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:182: error: ‘::__gnu_cxx’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:183: error: ‘::__gnu_cxx’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:184: error: ‘::__gnu_cxx’ has not been declared | |
/usr/include/c++/4.2.1/cstdio:185: error: ‘::__gnu_cxx’ has not been declared | |
In file included from /usr/include/c++/4.2.1/bits/c++locale.h:50, | |
from /usr/include/c++/4.2.1/iosfwd:45, | |
from /usr/include/c++/4.2.1/ios:43, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/cstdarg:60: error: ‘::va_list’ has not been declared | |
In file included from /usr/include/c++/4.2.1/iosfwd:45, | |
from /usr/include/c++/4.2.1/ios:43, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/bits/c++locale.h: In function ‘int cs540::std::__convert_from_v(int* const&, char*, int, const char*, ...)’: | |
/usr/include/c++/4.2.1/bits/c++locale.h:67: error: ‘setlocale’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/c++locale.h:69: error: ‘strcmp’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/c++locale.h:71: error: ‘strlen’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/c++locale.h:72: error: ‘strcpy’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/c++locale.h:73: error: ‘setlocale’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/c++locale.h:80: error: ‘vsnprintf’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/c++locale.h:89: error: ‘setlocale’ is not a member of ‘cs540::std’ | |
In file included from /usr/include/c++/4.2.1/iosfwd:47, | |
from /usr/include/c++/4.2.1/ios:43, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/cctype: At global scope: | |
/usr/include/c++/4.2.1/cctype:70: error: ‘::isalnum’ has not been declared | |
/usr/include/c++/4.2.1/cctype:71: error: ‘::isalpha’ has not been declared | |
/usr/include/c++/4.2.1/cctype:72: error: ‘::iscntrl’ has not been declared | |
/usr/include/c++/4.2.1/cctype:73: error: ‘::isdigit’ has not been declared | |
/usr/include/c++/4.2.1/cctype:74: error: ‘::isgraph’ has not been declared | |
/usr/include/c++/4.2.1/cctype:75: error: ‘::islower’ has not been declared | |
/usr/include/c++/4.2.1/cctype:76: error: ‘::isprint’ has not been declared | |
/usr/include/c++/4.2.1/cctype:77: error: ‘::ispunct’ has not been declared | |
/usr/include/c++/4.2.1/cctype:78: error: ‘::isspace’ has not been declared | |
/usr/include/c++/4.2.1/cctype:79: error: ‘::isupper’ has not been declared | |
/usr/include/c++/4.2.1/cctype:80: error: ‘::isxdigit’ has not been declared | |
/usr/include/c++/4.2.1/cctype:81: error: ‘::tolower’ has not been declared | |
/usr/include/c++/4.2.1/cctype:82: error: ‘::toupper’ has not been declared | |
In file included from /usr/include/c++/4.2.1/cwchar:52, | |
from /usr/include/c++/4.2.1/bits/postypes.h:46, | |
from /usr/include/c++/4.2.1/iosfwd:49, | |
from /usr/include/c++/4.2.1/ios:43, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/ctime:66: error: ‘::clock_t’ has not been declared | |
/usr/include/c++/4.2.1/ctime:67: error: ‘::time_t’ has not been declared | |
/usr/include/c++/4.2.1/ctime:68: error: ‘::tm’ has not been declared | |
/usr/include/c++/4.2.1/ctime:70: error: ‘::clock’ has not been declared | |
/usr/include/c++/4.2.1/ctime:71: error: ‘::difftime’ has not been declared | |
/usr/include/c++/4.2.1/ctime:72: error: ‘::mktime’ has not been declared | |
/usr/include/c++/4.2.1/ctime:73: error: ‘::time’ has not been declared | |
/usr/include/c++/4.2.1/ctime:74: error: ‘::asctime’ has not been declared | |
/usr/include/c++/4.2.1/ctime:75: error: ‘::ctime’ has not been declared | |
/usr/include/c++/4.2.1/ctime:76: error: ‘::gmtime’ has not been declared | |
/usr/include/c++/4.2.1/ctime:77: error: ‘::localtime’ has not been declared | |
/usr/include/c++/4.2.1/ctime:78: error: ‘::strftime’ has not been declared | |
In file included from /usr/include/c++/4.2.1/bits/postypes.h:46, | |
from /usr/include/c++/4.2.1/iosfwd:49, | |
from /usr/include/c++/4.2.1/ios:43, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/cwchar:72: error: ‘::mbstate_t’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:146: error: ‘::wint_t’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:148: error: ‘::btowc’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:149: error: ‘::fgetwc’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:150: error: ‘::fgetws’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:151: error: ‘::fputwc’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:152: error: ‘::fputws’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:153: error: ‘::fwide’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:154: error: ‘::fwprintf’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:155: error: ‘::fwscanf’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:156: error: ‘::getwc’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:157: error: ‘::getwchar’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:158: error: ‘::mbrlen’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:159: error: ‘::mbrtowc’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:160: error: ‘::mbsinit’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:161: error: ‘::mbsrtowcs’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:162: error: ‘::putwc’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:163: error: ‘::putwchar’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:164: error: ‘::swprintf’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:165: error: ‘::swscanf’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:166: error: ‘::ungetwc’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:167: error: ‘::vfwprintf’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:169: error: ‘::vfwscanf’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:171: error: ‘::vswprintf’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:173: error: ‘::vswscanf’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:175: error: ‘::vwprintf’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:177: error: ‘::vwscanf’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:179: error: ‘::wcrtomb’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:180: error: ‘::wcscat’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:181: error: ‘::wcscmp’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:182: error: ‘::wcscoll’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:183: error: ‘::wcscpy’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:184: error: ‘::wcscspn’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:185: error: ‘::wcsftime’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:186: error: ‘::wcslen’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:187: error: ‘::wcsncat’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:188: error: ‘::wcsncmp’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:189: error: ‘::wcsncpy’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:190: error: ‘::wcsrtombs’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:191: error: ‘::wcsspn’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:192: error: ‘::wcstod’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:194: error: ‘::wcstof’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:196: error: ‘::wcstok’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:197: error: ‘::wcstol’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:198: error: ‘::wcstoul’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:199: error: ‘::wcsxfrm’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:200: error: ‘::wctob’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:201: error: ‘::wmemcmp’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:202: error: ‘::wmemcpy’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:203: error: ‘::wmemmove’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:204: error: ‘::wmemset’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:205: error: ‘::wprintf’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:206: error: ‘::wscanf’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:208: error: ‘::wcschr’ has not been declared | |
/usr/include/c++/4.2.1/cwchar: In function ‘wchar_t* cs540::std::wcschr(wchar_t*, wchar_t)’: | |
/usr/include/c++/4.2.1/cwchar:212: error: invalid conversion from ‘const wchar_t*’ to ‘wchar_t*’ | |
/usr/include/c++/4.2.1/cwchar: At global scope: | |
/usr/include/c++/4.2.1/cwchar:214: error: ‘::wcspbrk’ has not been declared | |
/usr/include/c++/4.2.1/cwchar: In function ‘wchar_t* cs540::std::wcspbrk(wchar_t*, const wchar_t*)’: | |
/usr/include/c++/4.2.1/cwchar:218: error: invalid conversion from ‘const wchar_t*’ to ‘wchar_t*’ | |
/usr/include/c++/4.2.1/cwchar: At global scope: | |
/usr/include/c++/4.2.1/cwchar:220: error: ‘::wcsrchr’ has not been declared | |
/usr/include/c++/4.2.1/cwchar: In function ‘wchar_t* cs540::std::wcsrchr(wchar_t*, wchar_t)’: | |
/usr/include/c++/4.2.1/cwchar:224: error: invalid conversion from ‘const wchar_t*’ to ‘wchar_t*’ | |
/usr/include/c++/4.2.1/cwchar: At global scope: | |
/usr/include/c++/4.2.1/cwchar:226: error: ‘::wcsstr’ has not been declared | |
/usr/include/c++/4.2.1/cwchar: In function ‘wchar_t* cs540::std::wcsstr(wchar_t*, const wchar_t*)’: | |
/usr/include/c++/4.2.1/cwchar:230: error: invalid conversion from ‘const wchar_t*’ to ‘wchar_t*’ | |
/usr/include/c++/4.2.1/cwchar: At global scope: | |
/usr/include/c++/4.2.1/cwchar:232: error: ‘::wmemchr’ has not been declared | |
/usr/include/c++/4.2.1/cwchar: In function ‘wchar_t* cs540::std::wmemchr(wchar_t*, wchar_t, size_t)’: | |
/usr/include/c++/4.2.1/cwchar:236: error: invalid conversion from ‘const wchar_t*’ to ‘wchar_t*’ | |
/usr/include/c++/4.2.1/cwchar: At global scope: | |
/usr/include/c++/4.2.1/cwchar:253: error: ‘::wcstold’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:262: error: ‘::wcstoll’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:263: error: ‘::wcstoull’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:270: error: ‘::__gnu_cxx’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:271: error: ‘::__gnu_cxx’ has not been declared | |
/usr/include/c++/4.2.1/cwchar:272: error: ‘::__gnu_cxx’ has not been declared | |
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:68, | |
from /usr/include/c++/4.2.1/bits/char_traits.h:46, | |
from /usr/include/c++/4.2.1/ios:45, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/cstdlib:206: error: ‘::__gnu_cxx’ has not been declared | |
/usr/include/c++/4.2.1/cstdlib:208: error: ‘::__gnu_cxx’ has not been declared | |
/usr/include/c++/4.2.1/cstdlib:209: error: ‘::__gnu_cxx’ has not been declared | |
/usr/include/c++/4.2.1/cstdlib:211: error: ‘::__gnu_cxx’ has not been declared | |
/usr/include/c++/4.2.1/cstdlib:212: error: ‘::__gnu_cxx’ has not been declared | |
/usr/include/c++/4.2.1/cstdlib:213: error: ‘::__gnu_cxx’ has not been declared | |
/usr/include/c++/4.2.1/cstdlib:215: error: ‘::__gnu_cxx’ has not been declared | |
/usr/include/c++/4.2.1/cstdlib:216: error: ‘::__gnu_cxx’ has not been declared | |
/usr/include/c++/4.2.1/cstdlib:217: error: ‘::__gnu_cxx’ has not been declared | |
/usr/include/c++/4.2.1/cstdlib:218: error: ‘::__gnu_cxx’ has not been declared | |
/usr/include/c++/4.2.1/cstdlib:219: error: ‘::__gnu_cxx’ has not been declared | |
In file included from /usr/include/c++/4.2.1/bits/char_traits.h:46, | |
from /usr/include/c++/4.2.1/ios:45, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/bits/stl_algobase.h: In static member function ‘static _Tp* cs540::std::__copy<true, cs540::std::random_access_iterator_tag>::copy(const _Tp*, const _Tp*, _Tp*)’: | |
/usr/include/c++/4.2.1/bits/stl_algobase.h:298: error: ‘memmove’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/stl_algobase.h: In static member function ‘static _Tp* cs540::std::__copy_backward<true, cs540::std::random_access_iterator_tag>::__copy_b(const _Tp*, const _Tp*, _Tp*)’: | |
/usr/include/c++/4.2.1/bits/stl_algobase.h:446: error: ‘memmove’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/stl_algobase.h: In function ‘void cs540::std::fill(unsigned char*, unsigned char*, const unsigned char&)’: | |
/usr/include/c++/4.2.1/bits/stl_algobase.h:600: error: ‘memset’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/stl_algobase.h: In function ‘void cs540::std::fill(signed char*, signed char*, const signed char&)’: | |
/usr/include/c++/4.2.1/bits/stl_algobase.h:608: error: ‘memset’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/stl_algobase.h: In function ‘void cs540::std::fill(char*, char*, const char&)’: | |
/usr/include/c++/4.2.1/bits/stl_algobase.h:616: error: ‘memset’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/stl_algobase.h: In function ‘bool cs540::std::lexicographical_compare(const unsigned char*, const unsigned char*, const unsigned char*, const unsigned char*)’: | |
/usr/include/c++/4.2.1/bits/stl_algobase.h:908: error: ‘memcmp’ is not a member of ‘cs540::std’ | |
In file included from /usr/include/c++/4.2.1/ios:45, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/bits/char_traits.h: At global scope: | |
/usr/include/c++/4.2.1/bits/char_traits.h:67: error: ‘mbstate_t’ in namespace ‘cs540::std’ does not name a type | |
/usr/include/c++/4.2.1/bits/char_traits.h: In static member function ‘static typename cs540::__gnu_cxx::char_traits<_CharT>::char_type* cs540::__gnu_cxx::char_traits<_CharT>::move(_CharT*, const _CharT*, size_t)’: | |
/usr/include/c++/4.2.1/bits/char_traits.h:186: error: ‘memmove’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/char_traits.h: In static member function ‘static const char* cs540::std::char_traits<char>::find(const char*, size_t, const char&)’: | |
/usr/include/c++/4.2.1/bits/char_traits.h:262: error: invalid conversion from ‘const void*’ to ‘void*’ | |
/usr/include/c++/4.2.1/bits/char_traits.h: In static member function ‘static const wchar_t* cs540::std::char_traits<wchar_t>::find(const wchar_t*, size_t, const wchar_t&)’: | |
/usr/include/c++/4.2.1/bits/char_traits.h:332: error: invalid conversion from ‘const wchar_t*’ to ‘wchar_t*’ | |
In file included from /usr/include/c++/4.2.1/ext/new_allocator.h:37, | |
from /usr/include/c++/4.2.1/bits/c++allocator.h:39, | |
from /usr/include/c++/4.2.1/bits/allocator.h:53, | |
from /usr/include/c++/4.2.1/memory:54, | |
from /usr/include/c++/4.2.1/string:48, | |
from /usr/include/c++/4.2.1/bits/locale_classes.h:47, | |
from /usr/include/c++/4.2.1/bits/ios_base.h:47, | |
from /usr/include/c++/4.2.1/ios:48, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/new: At global scope: | |
/usr/include/c++/4.2.1/new:95: error: ‘void* cs540::operator new(size_t)’ may not be declared within a namespace | |
/usr/include/c++/4.2.1/new:96: error: ‘void* cs540::operator new [](size_t)’ may not be declared within a namespace | |
/usr/include/c++/4.2.1/new:97: error: ‘void cs540::operator delete(void*)’ may not be declared within a namespace | |
/usr/include/c++/4.2.1/new:98: error: ‘void cs540::operator delete [](void*)’ may not be declared within a namespace | |
/usr/include/c++/4.2.1/new:99: error: ‘void* cs540::operator new(size_t, const cs540::std::nothrow_t&)’ may not be declared within a namespace | |
/usr/include/c++/4.2.1/new:100: error: ‘void* cs540::operator new [](size_t, const cs540::std::nothrow_t&)’ may not be declared within a namespace | |
/usr/include/c++/4.2.1/new:101: error: ‘void cs540::operator delete(void*, const cs540::std::nothrow_t&)’ may not be declared within a namespace | |
/usr/include/c++/4.2.1/new:102: error: ‘void cs540::operator delete [](void*, const cs540::std::nothrow_t&)’ may not be declared within a namespace | |
/usr/include/c++/4.2.1/new:105: error: ‘void* cs540::operator new(size_t, void*)’ may not be declared within a namespace | |
/usr/include/c++/4.2.1/new:106: error: ‘void* cs540::operator new [](size_t, void*)’ may not be declared within a namespace | |
/usr/include/c++/4.2.1/new:109: error: ‘void cs540::operator delete(void*, void*)’ may not be declared within a namespace | |
/usr/include/c++/4.2.1/new:110: error: ‘void cs540::operator delete [](void*, void*)’ may not be declared within a namespace | |
In file included from /usr/include/c++/4.2.1/bits/c++allocator.h:39, | |
from /usr/include/c++/4.2.1/bits/allocator.h:53, | |
from /usr/include/c++/4.2.1/memory:54, | |
from /usr/include/c++/4.2.1/string:48, | |
from /usr/include/c++/4.2.1/bits/locale_classes.h:47, | |
from /usr/include/c++/4.2.1/bits/ios_base.h:47, | |
from /usr/include/c++/4.2.1/ios:48, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/ext/new_allocator.h:43: error: ‘cs540::std::ptrdiff_t’ has not been declared | |
In file included from /usr/include/c++/4.2.1/memory:57, | |
from /usr/include/c++/4.2.1/string:48, | |
from /usr/include/c++/4.2.1/bits/locale_classes.h:47, | |
from /usr/include/c++/4.2.1/bits/ios_base.h:47, | |
from /usr/include/c++/4.2.1/ios:48, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/bits/stl_uninitialized.h: In function ‘char* cs540::std::uninitialized_copy(const char*, const char*, char*)’: | |
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:120: error: ‘memmove’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/stl_uninitialized.h: In function ‘wchar_t* cs540::std::uninitialized_copy(const wchar_t*, const wchar_t*, wchar_t*)’: | |
/usr/include/c++/4.2.1/bits/stl_uninitialized.h:128: error: ‘memmove’ is not a member of ‘cs540::std’ | |
In file included from /usr/include/c++/4.2.1/string:48, | |
from /usr/include/c++/4.2.1/bits/locale_classes.h:47, | |
from /usr/include/c++/4.2.1/bits/ios_base.h:47, | |
from /usr/include/c++/4.2.1/ios:48, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
<built-in>: In function ‘cs540::std::pair<_Tp*, long int> cs540::std::__get_temporary_buffer(cs540::ptrdiff_t, _Tp*)’: | |
<built-in>:0: error: too many arguments to function ‘void* operator new(long unsigned int)’ | |
/usr/include/c++/4.2.1/memory:83: error: at this point in file | |
In file included from /usr/include/c++/4.2.1/bits/ios_base.h:47, | |
from /usr/include/c++/4.2.1/ios:48, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/bits/locale_classes.h: In member function ‘bool cs540::std::locale::_Impl::_M_check_same_name()’: | |
/usr/include/c++/4.2.1/bits/locale_classes.h:545: error: ‘strcmp’ is not a member of ‘cs540::std’ | |
In file included from /usr/include/c++/4.2.1/bits/locale_facets.h:46, | |
from /usr/include/c++/4.2.1/bits/basic_ios.h:44, | |
from /usr/include/c++/4.2.1/ios:50, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/cwctype: At global scope: | |
/usr/include/c++/4.2.1/cwctype:82: error: ‘::wint_t’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:84: error: ‘::wctype_t’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:85: error: ‘::wctrans_t’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:87: error: ‘::iswalnum’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:88: error: ‘::iswalpha’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:90: error: ‘::iswblank’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:92: error: ‘::iswcntrl’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:93: error: ‘::iswctype’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:94: error: ‘::iswdigit’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:95: error: ‘::iswgraph’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:96: error: ‘::iswlower’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:97: error: ‘::iswprint’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:98: error: ‘::iswpunct’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:99: error: ‘::iswspace’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:100: error: ‘::iswupper’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:101: error: ‘::iswxdigit’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:102: error: ‘::towctrans’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:103: error: ‘::towlower’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:104: error: ‘::towupper’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:105: error: ‘::wctrans’ has not been declared | |
/usr/include/c++/4.2.1/cwctype:106: error: ‘::wctype’ has not been declared | |
In file included from /usr/include/c++/4.2.1/bits/locale_facets.h:1539, | |
from /usr/include/c++/4.2.1/bits/basic_ios.h:44, | |
from /usr/include/c++/4.2.1/ios:50, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/bits/codecvt.h: In constructor ‘cs540::std::codecvt_byname<_InternT, _ExternT, _StateT>::codecvt_byname(const char*, size_t)’: | |
/usr/include/c++/4.2.1/bits/codecvt.h:460: error: ‘strcmp’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/codecvt.h:460: error: ‘strcmp’ is not a member of ‘cs540::std’ | |
In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:44, | |
from /usr/include/c++/4.2.1/ios:50, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/bits/locale_facets.h: In constructor ‘cs540::std::numpunct_byname<_CharT>::numpunct_byname(const char*, size_t)’: | |
/usr/include/c++/4.2.1/bits/locale_facets.h:1907: error: ‘strcmp’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/locale_facets.h:1907: error: ‘strcmp’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/locale_facets.h: In constructor ‘cs540::std::collate_byname<_CharT>::collate_byname(const char*, size_t)’: | |
/usr/include/c++/4.2.1/bits/locale_facets.h:2729: error: ‘strcmp’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/locale_facets.h:2729: error: ‘strcmp’ is not a member of ‘cs540::std’ | |
In file included from /usr/include/c++/4.2.1/bits/locale_facets.h:3043, | |
from /usr/include/c++/4.2.1/bits/basic_ios.h:44, | |
from /usr/include/c++/4.2.1/ios:50, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/bits/time_members.h: In constructor ‘cs540::std::__timepunct<_CharT>::__timepunct(int*, const char*, size_t)’: | |
/usr/include/c++/4.2.1/bits/time_members.h:65: error: ‘strlen’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/time_members.h:67: error: ‘memcpy’ is not a member of ‘cs540::std’ | |
In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:44, | |
from /usr/include/c++/4.2.1/ios:50, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/bits/locale_facets.h: In constructor ‘cs540::std::moneypunct_byname<_CharT, _Intl>::moneypunct_byname(const char*, size_t)’: | |
/usr/include/c++/4.2.1/bits/locale_facets.h:4017: error: ‘strcmp’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/locale_facets.h:4017: error: ‘strcmp’ is not a member of ‘cs540::std’ | |
In file included from /usr/include/c++/4.2.1/bits/locale_facets.h:4602, | |
from /usr/include/c++/4.2.1/bits/basic_ios.h:44, | |
from /usr/include/c++/4.2.1/ios:50, | |
from /usr/include/c++/4.2.1/ostream:45, | |
from /usr/include/c++/4.2.1/iostream:45, | |
from Part1/test.cpp:2: | |
/usr/include/c++/4.2.1/bits/messages_members.h: In constructor ‘cs540::std::messages_byname<_CharT>::messages_byname(const char*, size_t)’: | |
/usr/include/c++/4.2.1/bits/messages_members.h:86: error: ‘strcmp’ is not a member of ‘cs540::std’ | |
/usr/include/c++/4.2.1/bits/messages_members.h:86: error: ‘strcmp’ is not a member of ‘cs540::std’ | |
Part1/test.cpp: At global scope: | |
Part1/test.cpp:25: error: non-template type ‘List’ used as a template | |
Part1/test.cpp: In function ‘bool cs540::check_list_helper(const int&, int, ...)’: | |
Part1/test.cpp:31: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:31: error: invalid type in declaration before ‘=’ token | |
Part1/test.cpp:31: error: request for member ‘begin’ in ‘l’, which is of non-class type ‘const int’ | |
Part1/test.cpp:34: error: request for member ‘end’ in ‘l’, which is of non-class type ‘const int’ | |
Part1/test.cpp:35: error: invalid type argument of ‘unary *’ | |
Part1/test.cpp:45: error: request for member ‘end’ in ‘l’, which is of non-class type ‘const int’ | |
Part1/test.cpp: At global scope: | |
Part1/test.cpp:50: error: non-template type ‘List’ used as a template | |
Part1/test.cpp: In function ‘cs540::std::ostream& cs540::operator<<(cs540::std::ostream&, const int&)’: | |
Part1/test.cpp:52: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:52: error: invalid type in declaration before ‘=’ token | |
Part1/test.cpp:52: error: request for member ‘begin’ in ‘l’, which is of non-class type ‘const int’ | |
Part1/test.cpp:52: error: request for member ‘end’ in ‘l’, which is of non-class type ‘const int’ | |
Part1/test.cpp:53: error: request for member ‘begin’ in ‘l’, which is of non-class type ‘const int’ | |
Part1/test.cpp:53: error: invalid type argument of ‘unary *’ | |
Part1/test.cpp: At global scope: | |
Part1/test.cpp:60: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:80: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:80: error: template-id ‘check_list_helper<>’ for ‘bool cs540::check_list_helper<>(const int&, int, ...)’ does not match any template declaration | |
Part1/test.cpp:81: error: non-template type ‘List’ used as a template | |
Part1/test.cpp: In function ‘int cs540::main()’: | |
Part1/test.cpp:107: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:107: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:108: error: request for member ‘size’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:113: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:113: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:114: error: request for member ‘push_back’ in ‘l1’, which is of non-class type ‘int’ | |
Part1/test.cpp:115: error: request for member ‘push_back’ in ‘l1’, which is of non-class type ‘int’ | |
Part1/test.cpp:117: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:117: error: invalid type in declaration before ‘(’ token | |
Part1/test.cpp:121: error: request for member ‘push_back’ in ‘l2’, which is of non-class type ‘int’ | |
Part1/test.cpp:127: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:127: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:128: error: request for member ‘push_back’ in ‘l1’, which is of non-class type ‘int’ | |
Part1/test.cpp:129: error: request for member ‘push_back’ in ‘l1’, which is of non-class type ‘int’ | |
Part1/test.cpp:131: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:131: error: invalid type in declaration before ‘;’ token | |
cc1plus: warnings being treated as errors | |
Part1/test.cpp:137: warning: statement has no effect | |
Part1/test.cpp:140: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:140: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:141: error: request for member ‘push_back’ in ‘l3’, which is of non-class type ‘int’ | |
Part1/test.cpp:142: error: request for member ‘push_back’ in ‘l3’, which is of non-class type ‘int’ | |
Part1/test.cpp:144: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:144: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:145: error: request for member ‘push_back’ in ‘l4’, which is of non-class type ‘int’ | |
Part1/test.cpp:146: error: request for member ‘push_back’ in ‘l4’, which is of non-class type ‘int’ | |
Part1/test.cpp:155: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:155: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:156: error: request for member ‘size’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:158: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:159: error: request for member ‘size’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:161: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:162: error: request for member ‘size’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:164: error: request for member ‘clear’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:165: error: request for member ‘size’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:168: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:168: error: invalid type in declaration before ‘(’ token | |
Part1/test.cpp:169: error: request for member ‘size’ in ‘const_ref’, which is of non-class type ‘const int’ | |
Part1/test.cpp:174: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:174: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:175: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:176: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:178: error: request for member ‘begin’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:178: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:179: error: request for member ‘end’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:179: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:181: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:181: error: invalid type in declaration before ‘(’ token | |
Part1/test.cpp:182: error: request for member ‘begin’ in ‘const_ref’, which is of non-class type ‘const int’ | |
Part1/test.cpp:182: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:183: error: request for member ‘end’ in ‘const_ref’, which is of non-class type ‘const int’ | |
Part1/test.cpp:183: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:185: error: request for member ‘rbegin’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:185: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:186: error: request for member ‘rend’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:186: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:191: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:191: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:192: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:193: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:194: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:194: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:195: error: request for member ‘push_back’ in ‘cmp’, which is of non-class type ‘int’ | |
Part1/test.cpp:196: error: request for member ‘push_back’ in ‘cmp’, which is of non-class type ‘int’ | |
Part1/test.cpp:198: error: request for member ‘front’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:199: error: request for member ‘front’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:200: error: request for member ‘back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:201: error: request for member ‘back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:202: error: request for member ‘size’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:206: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:206: error: invalid type in declaration before ‘(’ token | |
Part1/test.cpp:207: error: request for member ‘front’ in ‘clr’, which is of non-class type ‘const int’ | |
Part1/test.cpp:208: error: request for member ‘back’ in ‘clr’, which is of non-class type ‘const int’ | |
Part1/test.cpp:213: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:213: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:216: error: request for member ‘push_front’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:217: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:218: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:220: error: request for member ‘front’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:221: error: request for member ‘back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:222: error: request for member ‘size’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:225: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:225: error: invalid type in declaration before ‘(’ token | |
Part1/test.cpp:226: error: request for member ‘pop_front’ in ‘l2’, which is of non-class type ‘int’ | |
Part1/test.cpp:227: error: request for member ‘size’ in ‘l2’, which is of non-class type ‘int’ | |
Part1/test.cpp:228: error: request for member ‘front’ in ‘l2’, which is of non-class type ‘int’ | |
Part1/test.cpp:229: error: request for member ‘back’ in ‘l2’, which is of non-class type ‘int’ | |
Part1/test.cpp:232: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:232: error: invalid type in declaration before ‘(’ token | |
Part1/test.cpp:233: error: request for member ‘pop_back’ in ‘l3’, which is of non-class type ‘int’ | |
Part1/test.cpp:234: error: request for member ‘size’ in ‘l3’, which is of non-class type ‘int’ | |
Part1/test.cpp:235: error: request for member ‘front’ in ‘l3’, which is of non-class type ‘int’ | |
Part1/test.cpp:236: error: request for member ‘back’ in ‘l3’, which is of non-class type ‘int’ | |
Part1/test.cpp:241: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:241: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:242: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:243: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:244: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:245: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:247: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:247: error: invalid type in declaration before ‘(’ token | |
Part1/test.cpp:248: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:248: error: expected initializer before ‘it’ | |
Part1/test.cpp:249: error: ‘it’ was not declared in this scope | |
Part1/test.cpp:250: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:250: error: expected initializer before ‘new_it’ | |
Part1/test.cpp:252: error: no matching function for call to ‘check_list_helper(int&, int, int, int, int, int, int)’ | |
Part1/test.cpp:255: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:255: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:256: error: request for member ‘push_back’ in ‘l3’, which is of non-class type ‘int’ | |
Part1/test.cpp:257: error: request for member ‘push_back’ in ‘l3’, which is of non-class type ‘int’ | |
Part1/test.cpp:258: error: request for member ‘push_back’ in ‘l3’, which is of non-class type ‘int’ | |
Part1/test.cpp:260: error: request for member ‘insert’ in ‘l2’, which is of non-class type ‘int’ | |
Part1/test.cpp:260: error: ‘new_it’ was not declared in this scope | |
Part1/test.cpp:260: error: request for member ‘begin’ in ‘l3’, which is of non-class type ‘int’ | |
Part1/test.cpp:260: error: request for member ‘end’ in ‘l3’, which is of non-class type ‘int’ | |
Part1/test.cpp:264: error: no matching function for call to ‘check_list_helper(int&, int, int, int, int, int, int, int, int, int)’ | |
Part1/test.cpp:265: error: no matching function for call to ‘check_list_helper(int&, int, int, int, int)’ | |
Part1/test.cpp:270: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:270: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:271: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:272: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:273: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:274: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:276: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:276: error: expected initializer before ‘it’ | |
Part1/test.cpp:277: error: no matching function for call to ‘check_list_helper(int&, int, int, int, int)’ | |
Part1/test.cpp:278: error: ‘it’ was not declared in this scope | |
Part1/test.cpp:278: error: request for member ‘end’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:280: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:282: error: request for member ‘erase’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:282: error: request for member ‘begin’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:282: error: request for member ‘begin’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:284: error: no matching function for call to ‘check_list_helper(int&, int, int, int, int)’ | |
Part1/test.cpp:286: error: request for member ‘erase’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:286: error: request for member ‘end’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:286: error: request for member ‘end’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:287: error: no matching function for call to ‘check_list_helper(int&, int, int, int)’ | |
Part1/test.cpp:288: error: request for member ‘end’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:293: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:293: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:294: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:295: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:296: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:298: error: request for member ‘size’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:299: error: request for member ‘clear’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:300: error: request for member ‘size’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:301: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:302: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:303: error: no matching function for call to ‘check_list_helper(int&, int, int, int)’ | |
Part1/test.cpp:308: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:308: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:309: error: request for member ‘push_back’ in ‘src’, which is of non-class type ‘int’ | |
Part1/test.cpp:310: error: request for member ‘push_back’ in ‘src’, which is of non-class type ‘int’ | |
Part1/test.cpp:311: error: request for member ‘push_back’ in ‘src’, which is of non-class type ‘int’ | |
Part1/test.cpp:312: error: request for member ‘push_back’ in ‘src’, which is of non-class type ‘int’ | |
Part1/test.cpp:313: error: request for member ‘push_back’ in ‘src’, which is of non-class type ‘int’ | |
Part1/test.cpp:314: error: request for member ‘push_back’ in ‘src’, which is of non-class type ‘int’ | |
Part1/test.cpp:315: error: request for member ‘push_back’ in ‘src’, which is of non-class type ‘int’ | |
Part1/test.cpp:316: error: request for member ‘push_back’ in ‘src’, which is of non-class type ‘int’ | |
Part1/test.cpp:317: error: request for member ‘push_back’ in ‘src’, which is of non-class type ‘int’ | |
Part1/test.cpp:318: error: request for member ‘push_back’ in ‘src’, which is of non-class type ‘int’ | |
Part1/test.cpp:320: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:320: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:321: error: request for member ‘splice’ in ‘dst’, which is of non-class type ‘int’ | |
Part1/test.cpp:321: error: request for member ‘end’ in ‘dst’, which is of non-class type ‘int’ | |
Part1/test.cpp:321: error: request for member ‘begin’ in ‘src’, which is of non-class type ‘int’ | |
Part1/test.cpp:322: error: no matching function for call to ‘check_list_helper(int&, int, int)’ | |
Part1/test.cpp:323: error: no matching function for call to ‘check_list_helper(int&, int, int, int, int, int, int, int, int, int, int)’ | |
Part1/test.cpp:325: error: request for member ‘splice’ in ‘dst’, which is of non-class type ‘int’ | |
Part1/test.cpp:325: error: request for member ‘begin’ in ‘dst’, which is of non-class type ‘int’ | |
Part1/test.cpp:325: error: request for member ‘end’ in ‘src’, which is of non-class type ‘int’ | |
Part1/test.cpp:325: error: request for member ‘end’ in ‘src’, which is of non-class type ‘int’ | |
Part1/test.cpp:326: error: no matching function for call to ‘check_list_helper(int&, int, int, int)’ | |
Part1/test.cpp:327: error: no matching function for call to ‘check_list_helper(int&, int, int, int, int, int, int, int, int, int)’ | |
Part1/test.cpp:329: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:329: error: expected initializer before ‘it’ | |
Part1/test.cpp:330: error: ‘it’ was not declared in this scope | |
Part1/test.cpp:332: error: request for member ‘splice’ in ‘dst’, which is of non-class type ‘int’ | |
Part1/test.cpp:332: error: request for member ‘begin’ in ‘dst’, which is of non-class type ‘int’ | |
Part1/test.cpp:332: error: request for member ‘begin’ in ‘src’, which is of non-class type ‘int’ | |
Part1/test.cpp:333: error: no matching function for call to ‘check_list_helper(int&, int, int, int, int, int)’ | |
Part1/test.cpp:334: error: no matching function for call to ‘check_list_helper(int&, int, int, int, int, int, int, int)’ | |
Part1/test.cpp:336: error: request for member ‘splice’ in ‘dst’, which is of non-class type ‘int’ | |
Part1/test.cpp:336: error: request for member ‘end’ in ‘dst’, which is of non-class type ‘int’ | |
Part1/test.cpp:336: error: request for member ‘begin’ in ‘src’, which is of non-class type ‘int’ | |
Part1/test.cpp:336: error: request for member ‘end’ in ‘src’, which is of non-class type ‘int’ | |
Part1/test.cpp:337: error: no matching function for call to ‘check_list_helper(int&, int, int, int, int, int, int, int, int, int, int, int)’ | |
Part1/test.cpp:338: error: no matching function for call to ‘check_list_helper(int&, int)’ | |
Part1/test.cpp:343: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:343: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:344: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:345: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:346: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:347: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:348: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:349: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:350: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:351: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:353: error: request for member ‘remove’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:354: error: no matching function for call to ‘check_list_helper(int&, int, int, int, int, int, int, int)’ | |
Part1/test.cpp:355: error: request for member ‘remove’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:356: error: no matching function for call to ‘check_list_helper(int&, int, int, int, int, int)’ | |
Part1/test.cpp:357: error: request for member ‘remove’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:358: error: no matching function for call to ‘check_list_helper(int&, int, int, int, int)’ | |
Part1/test.cpp:359: error: request for member ‘remove’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:360: error: no matching function for call to ‘check_list_helper(int&, int, int, int, int)’ | |
Part1/test.cpp:363: error: request for member ‘clear’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:364: error: request for member ‘remove’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:369: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:369: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:370: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:371: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:372: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:373: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:374: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:375: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:376: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:377: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:378: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:379: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:381: error: request for member ‘unique’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:382: error: no matching function for call to ‘check_list_helper(int&, int, int, int, int, int, int)’ | |
Part1/test.cpp:385: error: request for member ‘clear’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:386: error: request for member ‘unique’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:391: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:391: error: invalid type in declaration before ‘,’ token | |
Part1/test.cpp:395: error: request for member ‘push_back’ in ‘l1’, which is of non-class type ‘int’ | |
Part1/test.cpp:399: error: request for member ‘push_back’ in ‘l2’, which is of non-class type ‘int’ | |
Part1/test.cpp:402: error: request for member ‘clear’ in ‘l2’, which is of non-class type ‘int’ | |
Part1/test.cpp:403: error: request for member ‘push_back’ in ‘l2’, which is of non-class type ‘int’ | |
Part1/test.cpp:408: error: request for member ‘push_back’ in ‘l2’, which is of non-class type ‘int’ | |
Part1/test.cpp:415: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:415: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:416: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:417: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:418: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:419: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:420: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:422: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:422: error: expected initializer before ‘it1’ | |
Part1/test.cpp:423: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:423: error: expected initializer before ‘it2’ | |
Part1/test.cpp:424: error: ‘it2’ was not declared in this scope | |
Part1/test.cpp:424: error: ‘it1’ was not declared in this scope | |
Part1/test.cpp:427: error: request for member ‘begin’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:428: error: request for member ‘begin’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:430: error: request for member ‘end’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:433: error: request for member ‘end’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:442: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:442: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:443: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:444: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:445: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:446: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:447: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:449: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:449: error: expected initializer before ‘it1’ | |
Part1/test.cpp:450: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:450: error: expected initializer before ‘it2’ | |
Part1/test.cpp:451: error: ‘it2’ was not declared in this scope | |
Part1/test.cpp:451: error: ‘it1’ was not declared in this scope | |
Part1/test.cpp:454: error: request for member ‘begin’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:455: error: request for member ‘begin’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:457: error: request for member ‘end’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:459: error: request for member ‘end’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:468: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:468: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:469: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:470: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:471: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:472: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:473: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:475: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:475: error: expected initializer before ‘it1’ | |
Part1/test.cpp:476: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:476: error: expected initializer before ‘it2’ | |
Part1/test.cpp:477: error: ‘it2’ was not declared in this scope | |
Part1/test.cpp:477: error: ‘it1’ was not declared in this scope | |
Part1/test.cpp:480: error: request for member ‘rbegin’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:481: error: request for member ‘rbegin’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:483: error: request for member ‘rend’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:486: error: request for member ‘rend’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:495: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:495: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:497: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:498: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:499: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:500: error: request for member ‘push_front’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:502: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:502: error: invalid type in declaration before ‘(’ token | |
Part1/test.cpp:505: error: request for member ‘erase’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:505: error: request for member ‘begin’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:505: error: request for member ‘end’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:506: error: request for member ‘size’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:507: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:507: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:511: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:511: error: expected initializer before ‘it’ | |
Part1/test.cpp:511: error: ‘it’ was not declared in this scope | |
Part1/test.cpp:511: error: request for member ‘end’ in ‘l2’, which is of non-class type ‘int’ | |
Part1/test.cpp:516: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:516: error: expected initializer before ‘it’ | |
Part1/test.cpp:516: error: ‘it’ was not declared in this scope | |
Part1/test.cpp:516: error: request for member ‘rend’ in ‘l2’, which is of non-class type ‘int’ | |
Part1/test.cpp:520: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:520: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:522: error: request for member ‘push_back’ in ‘l3’, which is of non-class type ‘int’ | |
Part1/test.cpp:523: error: request for member ‘push_back’ in ‘l3’, which is of non-class type ‘int’ | |
Part1/test.cpp:524: error: request for member ‘push_back’ in ‘l3’, which is of non-class type ‘int’ | |
Part1/test.cpp:525: error: request for member ‘push_back’ in ‘l3’, which is of non-class type ‘int’ | |
Part1/test.cpp:527: error: request for member ‘splice’ in ‘l2’, which is of non-class type ‘int’ | |
Part1/test.cpp:527: error: request for member ‘begin’ in ‘l2’, which is of non-class type ‘int’ | |
Part1/test.cpp:527: error: request for member ‘begin’ in ‘l3’, which is of non-class type ‘int’ | |
Part1/test.cpp:527: error: request for member ‘end’ in ‘l3’, which is of non-class type ‘int’ | |
Part1/test.cpp:530: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:530: error: expected initializer before ‘it’ | |
Part1/test.cpp:530: error: ‘it’ was not declared in this scope | |
Part1/test.cpp:530: error: request for member ‘end’ in ‘l2’, which is of non-class type ‘int’ | |
Part1/test.cpp:535: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:535: error: expected initializer before ‘it’ | |
Part1/test.cpp:535: error: ‘it’ was not declared in this scope | |
Part1/test.cpp:535: error: request for member ‘end’ in ‘l3’, which is of non-class type ‘int’ | |
Part1/test.cpp:542: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:542: error: invalid type in declaration before ‘,’ token | |
Part1/test.cpp:545: error: request for member ‘push_back’ in ‘l1’, which is of non-class type ‘int’ | |
Part1/test.cpp:549: error: request for member ‘push_back’ in ‘l2’, which is of non-class type ‘int’ | |
Part1/test.cpp:555: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:555: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:557: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:558: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:559: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:561: error: no matching function for call to ‘traverse(int&, int)’ | |
Part1/test.cpp: At global scope: | |
Part1/test.cpp:570: error: non-template type ‘List’ used as a template | |
Part1/test.cpp: In function ‘void cs540::traverse(int&, int)’: | |
Part1/test.cpp:571: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:571: error: invalid type in declaration before ‘=’ token | |
Part1/test.cpp:571: error: request for member ‘begin’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:571: error: request for member ‘end’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:572: error: invalid type argument of ‘unary *’ | |
Part1/test.cpp:574: error: no matching function for call to ‘traverse(int&, int&)’ | |
Part1/test.cpp: In function ‘void cs540::traverse2(int)’: | |
Part1/test.cpp:583: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:583: error: invalid type in declaration before ‘;’ token | |
Part1/test.cpp:595: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:596: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:597: error: request for member ‘push_back’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:599: error: non-template type ‘List’ used as a template | |
Part1/test.cpp:599: error: invalid type in declaration before ‘=’ token | |
Part1/test.cpp:599: error: request for member ‘begin’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:599: error: request for member ‘end’ in ‘l’, which is of non-class type ‘int’ | |
Part1/test.cpp:600: error: invalid type argument of ‘unary *’ | |
Part1/test.cpp: At global scope: | |
Part1/test.cpp:611: error: expected `}' at end of input | |
make: *** [Part1/test.o] Error 1 | |
zsh: exit 2 make part1_test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment