My platform is a 64bit linux machine with gcc version 4.5.2.
I have successfully built json-cpp from the latest sources.
All the tests have also been passed.
But when I tried to compile a sample program I am getting compilation errors.
Does json-cpp supports 64 bit environment?
If it does, Would any one help me to understand the issue behind the below compilation errors?
Thanks in advance.
In file included from /usr/include/c++/4.5/cwchar:47:0,
from /usr/include/c++/4.5/bits/postypes.h:42,
from /usr/include/c++/4.5/bits/char_traits.h:42,
from /usr/include/c++/4.5/string:42,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/wchar.h:75:43: error: missing binary operator before token "("
In file included from /usr/include/sched.h:43:0,
from /usr/include/pthread.h:25,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:41,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr.h:162,
from /usr/include/c++/4.5/ext/atomicity.h:34,
from /usr/include/c++/4.5/bits/basic_string.h:41,
from /usr/include/c++/4.5/string:53,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/bits/sched.h:129:20: error: missing binary operator before token "("
/usr/include/bits/sched.h:167:20: error: missing binary operator before token "("
In file included from /usr/include/c++/4.5/cwchar:47:0,
from /usr/include/c++/4.5/bits/postypes.h:42,
from /usr/include/c++/4.5/bits/char_traits.h:42,
from /usr/include/c++/4.5/string:42,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/wchar.h:104:1: error: ‘__BEGIN_NAMESPACE_C99’ does not name a type
/usr/include/wchar.h:107:1: error: ‘__END_NAMESPACE_C99’ does not name a type
/usr/include/wchar.h:135:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:149:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:153:39: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:157:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:161:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:164:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:165:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:194:56: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:195:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:235:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:237:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:254:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:264:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:275:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:281:32: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:284:45: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:285:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:324:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:328:51: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:333:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:336:65: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:337:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:355:31: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:359:29: error: ‘mbstate_t’ does not name a type
/usr/include/wchar.h:359:46: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:365:10: error: ‘mbstate_t’ has not been declared
/usr/include/wchar.h:365:26: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:369:10: error: ‘mbstate_t’ has not been declared
/usr/include/wchar.h:369:38: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:373:4: error: ‘mbstate_t’ has not been declared
/usr/include/wchar.h:373:32: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:375:9: error: ‘mbstate_t’ has not been declared
/usr/include/wchar.h:375:37: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:376:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:414:5: error: ‘mbstate_t’ has not been declared
/usr/include/wchar.h:414:33: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:415:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:450:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:473:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:474:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:788:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:856:1: error: ‘__END_NAMESPACE_C99’ does not name a type
In file included from /usr/include/c++/4.5/bits/postypes.h:42:0,
from /usr/include/c++/4.5/bits/char_traits.h:42,
from /usr/include/c++/4.5/string:42,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/cwchar:143:11: error: ‘::btowc’ has not been declared
/usr/include/c++/4.5/cwchar:144:11: error: ‘::fgetwc’ has not been declared
/usr/include/c++/4.5/cwchar:148:11: error: ‘::fwide’ has not been declared
/usr/include/c++/4.5/cwchar:149:11: error: ‘::fwprintf’ has not been declared
/usr/include/c++/4.5/cwchar:150:11: error: ‘::fwscanf’ has not been declared
/usr/include/c++/4.5/cwchar:153:11: error: ‘::mbrlen’ has not been declared
/usr/include/c++/4.5/cwchar:154:11: error: ‘::mbrtowc’ has not been declared
/usr/include/c++/4.5/cwchar:155:11: error: ‘::mbsinit’ has not been declared
/usr/include/c++/4.5/cwchar:156:11: error: ‘::mbsrtowcs’ has not been declared
/usr/include/c++/4.5/cwchar:160:11: error: ‘::swprintf’ has not been declared
/usr/include/c++/4.5/cwchar:162:11: error: ‘::swscanf’ has not been declared
/usr/include/c++/4.5/cwchar:164:11: error: ‘::vfwprintf’ has not been declared
/usr/include/c++/4.5/cwchar:166:11: error: ‘::vfwscanf’ has not been declared
/usr/include/c++/4.5/cwchar:169:11: error: ‘::vswprintf’ has not been declared
/usr/include/c++/4.5/cwchar:172:11: error: ‘::vswscanf’ has not been declared
/usr/include/c++/4.5/cwchar:174:11: error: ‘::vwprintf’ has not been declared
/usr/include/c++/4.5/cwchar:176:11: error: ‘::vwscanf’ has not been declared
/usr/include/c++/4.5/cwchar:178:11: error: ‘::wcrtomb’ has not been declared
/usr/include/c++/4.5/cwchar:179:11: error: ‘::wcscat’ has not been declared
/usr/include/c++/4.5/cwchar:180:11: error: ‘::wcscmp’ has not been declared
/usr/include/c++/4.5/cwchar:181:11: error: ‘::wcscoll’ has not been declared
/usr/include/c++/4.5/cwchar:182:11: error: ‘::wcscpy’ has not been declared
/usr/include/c++/4.5/cwchar:183:11: error: ‘::wcscspn’ has not been declared
/usr/include/c++/4.5/cwchar:184:11: error: ‘::wcsftime’ has not been declared
/usr/include/c++/4.5/cwchar:185:11: error: ‘::wcslen’ has not been declared
/usr/include/c++/4.5/cwchar:186:11: error: ‘::wcsncat’ has not been declared
/usr/include/c++/4.5/cwchar:187:11: error: ‘::wcsncmp’ has not been declared
/usr/include/c++/4.5/cwchar:188:11: error: ‘::wcsncpy’ has not been declared
/usr/include/c++/4.5/cwchar:189:11: error: ‘::wcsrtombs’ has not been declared
/usr/include/c++/4.5/cwchar:190:11: error: ‘::wcsspn’ has not been declared
/usr/include/c++/4.5/cwchar:191:11: error: ‘::wcstod’ has not been declared
/usr/include/c++/4.5/cwchar:193:11: error: ‘::wcstof’ has not been declared
/usr/include/c++/4.5/cwchar:195:11: error: ‘::wcstok’ has not been declared
/usr/include/c++/4.5/cwchar:196:11: error: ‘::wcstol’ has not been declared
/usr/include/c++/4.5/cwchar:197:11: error: ‘::wcstoul’ has not been declared
/usr/include/c++/4.5/cwchar:198:11: error: ‘::wcsxfrm’ has not been declared
/usr/include/c++/4.5/cwchar:199:11: error: ‘::wctob’ has not been declared
/usr/include/c++/4.5/cwchar:200:11: error: ‘::wmemcmp’ has not been declared
/usr/include/c++/4.5/cwchar:201:11: error: ‘::wmemcpy’ has not been declared
/usr/include/c++/4.5/cwchar:202:11: error: ‘::wmemmove’ has not been declared
/usr/include/c++/4.5/cwchar:203:11: error: ‘::wmemset’ has not been declared
/usr/include/c++/4.5/cwchar:204:11: error: ‘::wprintf’ has not been declared
/usr/include/c++/4.5/cwchar:205:11: error: ‘::wscanf’ has not been declared
/usr/include/c++/4.5/cwchar:206:11: error: ‘::wcschr’ has not been declared
/usr/include/c++/4.5/cwchar:207:11: error: ‘::wcspbrk’ has not been declared
/usr/include/c++/4.5/cwchar:208:11: error: ‘::wcsrchr’ has not been declared
/usr/include/c++/4.5/cwchar:209:11: error: ‘::wcsstr’ has not been declared
/usr/include/c++/4.5/cwchar:210:11: error: ‘::wmemchr’ has not been declared
/usr/include/c++/4.5/cwchar: In function ‘wchar_t* std::wcschr(wchar_t*, wchar_t)’:
/usr/include/c++/4.5/cwchar:215:55: error: invalid conversion from ‘const wchar_t*’ to ‘wchar_t*’
/usr/include/c++/4.5/cwchar:215:55: error: initializing argument 1 of ‘wchar_t* std::wcschr(wchar_t*, wchar_t)’
/usr/include/c++/4.5/cwchar: In function ‘wchar_t* std::wcspbrk(wchar_t*, const wchar_t*)’:
/usr/include/c++/4.5/cwchar:219:58: error: invalid conversion from ‘const wchar_t*’ to ‘wchar_t*’
/usr/include/c++/4.5/cwchar:219:58: error: initializing argument 1 of ‘wchar_t* std::wcspbrk(wchar_t*, const wchar_t*)’
/usr/include/c++/4.5/cwchar: In function ‘wchar_t* std::wcsrchr(wchar_t*, wchar_t)’:
/usr/include/c++/4.5/cwchar:223:56: error: invalid conversion from ‘const wchar_t*’ to ‘wchar_t*’
/usr/include/c++/4.5/cwchar:223:56: error: initializing argument 1 of ‘wchar_t* std::wcsrchr(wchar_t*, wchar_t)’
/usr/include/c++/4.5/cwchar: In function ‘wchar_t* std::wcsstr(wchar_t*, const wchar_t*)’:
/usr/include/c++/4.5/cwchar:227:57: error: invalid conversion from ‘const wchar_t*’ to ‘wchar_t*’
/usr/include/c++/4.5/cwchar:227:57: error: initializing argument 1 of ‘wchar_t* std::wcsstr(wchar_t*, const wchar_t*)’
/usr/include/c++/4.5/cwchar: In function ‘wchar_t* std::wmemchr(wchar_t*, wchar_t, size_t)’:
/usr/include/c++/4.5/cwchar:231:61: error: invalid conversion from ‘const wchar_t*’ to ‘wchar_t*’
/usr/include/c++/4.5/cwchar:231:61: error: initializing argument 1 of ‘wchar_t* std::wmemchr(wchar_t*, wchar_t, size_t)’
/usr/include/c++/4.5/cwchar: At global scope:
/usr/include/c++/4.5/cwchar:249:11: error: ‘::wcstold’ has not been declared
/usr/include/c++/4.5/cwchar:258:11: error: ‘::wcstoll’ has not been declared
/usr/include/c++/4.5/cwchar:259:11: error: ‘::wcstoull’ has not been declared
/usr/include/c++/4.5/cwchar:266:22: error: ‘__gnu_cxx::wcstold’ has not been declared
/usr/include/c++/4.5/cwchar:267:22: error: ‘__gnu_cxx::wcstoll’ has not been declared
/usr/include/c++/4.5/cwchar:268:22: error: ‘__gnu_cxx::wcstoull’ has not been declared
In file included from /usr/include/c++/4.5/bits/char_traits.h:42:0,
from /usr/include/c++/4.5/string:42,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/bits/postypes.h:228:16: error: ‘mbstate_t’ was not declared in this scope
/usr/include/c++/4.5/bits/postypes.h:228:25: error: template argument 1 is invalid
/usr/include/c++/4.5/bits/postypes.h:228:36: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/bits/postypes.h:230:16: error: ‘mbstate_t’ was not declared in this scope
/usr/include/c++/4.5/bits/postypes.h:230:25: error: template argument 1 is invalid
/usr/include/c++/4.5/bits/postypes.h:230:37: error: invalid type in declaration before ‘;’ token
In file included from /usr/include/c++/4.5/string:42:0,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/bits/char_traits.h:70:15: error: ‘mbstate_t’ in namespace ‘std’ does not name a type
/usr/include/c++/4.5/bits/char_traits.h:243:15: error: ‘mbstate_t’ does not name a type
/usr/include/c++/4.5/bits/char_traits.h:314:15: error: ‘mbstate_t’ does not name a type
/usr/include/c++/4.5/bits/char_traits.h: In static member function ‘static int std::char_traits<wchar_t>::compare(const std::char_traits<wchar_t>::char_type*, const std::char_traits<wchar_t>::char_type*, size_t)’:
/usr/include/c++/4.5/bits/char_traits.h:330:39: error: ‘wmemcmp’ was not declared in this scope
/usr/include/c++/4.5/bits/char_traits.h: In static member function ‘static size_t std::char_traits<wchar_t>::length(const std::char_traits<wchar_t>::char_type*)’:
/usr/include/c++/4.5/bits/char_traits.h:334:26: error: ‘wcslen’ was not declared in this scope
/usr/include/c++/4.5/bits/char_traits.h: In static member function ‘static const std::char_traits<wchar_t>::char_type* std::char_traits<wchar_t>::find(const std::char_traits<wchar_t>::char_type*, size_t, const std::char_traits<wchar_t>::char_type&)’:
/usr/include/c++/4.5/bits/char_traits.h:338:37: error: invalid conversion from ‘const std::char_traits<wchar_t>::char_type*’ to ‘wchar_t*’
/usr/include/c++/4.5/bits/char_traits.h:338:37: error: initializing argument 1 of ‘wchar_t* std::wmemchr(wchar_t*, wchar_t, size_t)’
/usr/include/c++/4.5/bits/char_traits.h: In static member function ‘static std::char_traits<wchar_t>::char_type* std::char_traits<wchar_t>::move(std::char_traits<wchar_t>::char_type*, const std::char_traits<wchar_t>::char_type*, size_t)’:
/usr/include/c++/4.5/bits/char_traits.h:342:40: error: ‘wmemmove’ was not declared in this scope
/usr/include/c++/4.5/bits/char_traits.h: In static member function ‘static std::char_traits<wchar_t>::char_type* std::char_traits<wchar_t>::copy(std::char_traits<wchar_t>::char_type*, const std::char_traits<wchar_t>::char_type*, size_t)’:
/usr/include/c++/4.5/bits/char_traits.h:346:39: error: ‘wmemcpy’ was not declared in this scope
/usr/include/c++/4.5/bits/char_traits.h: In static member function ‘static std::char_traits<wchar_t>::char_type* std::char_traits<wchar_t>::assign(std::char_traits<wchar_t>::char_type*, size_t, std::char_traits<wchar_t>::char_type)’:
/usr/include/c++/4.5/bits/char_traits.h:350:37: error: ‘wmemset’ was not declared in this scope
In file included from /usr/include/c++/4.5/clocale:44:0,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/c++locale.h:42,
from /usr/include/c++/4.5/bits/localefwd.h:42,
from /usr/include/c++/4.5/string:45,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/locale.h: At global scope:
/usr/include/locale.h:32:1: error: ‘__BEGIN_DECLS’ does not name a type
/usr/include/locale.h:125:65: error: expected initializer before ‘__THROW’
/usr/include/locale.h:128:40: error: expected initializer before ‘__THROW’
/usr/include/locale.h:130:1: error: ‘__END_NAMESPACE_STD’ does not name a type
In file included from /usr/include/c++/4.5/bits/localefwd.h:42:0,
from /usr/include/c++/4.5/string:45,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/c++locale.h:59:11: error: ‘__locale_t’ does not name a type
/usr/include/c++/4.5/x86_64-linux-gnu/bits/c++locale.h:66:26: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/x86_64-linux-gnu/bits/c++locale.h: In function ‘int std::__convert_from_v(const int&, char*, int, const char*, …)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/c++locale.h:74:19: error: ‘setlocale’ is not a member of ‘std’
/usr/include/c++/4.5/x86_64-linux-gnu/bits/c++locale.h:81:2: error: ‘setlocale’ is not a member of ‘std’
/usr/include/c++/4.5/x86_64-linux-gnu/bits/c++locale.h:101:2: error: ‘setlocale’ is not a member of ‘std’
In file included from /usr/include/c++/4.5/cctype:44:0,
from /usr/include/c++/4.5/bits/localefwd.h:44,
from /usr/include/c++/4.5/string:45,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/ctype.h: At global scope:
/usr/include/ctype.h:30:1: error: ‘__BEGIN_DECLS’ does not name a type
In file included from /usr/include/c++/4.5/cctype:44:0,
from /usr/include/c++/4.5/bits/localefwd.h:44,
from /usr/include/c++/4.5/string:45,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/ctype.h:82:6: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:84:6: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:86:6: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:96:1: error: ‘__BEGIN_NAMESPACE_STD’ does not name a type
/usr/include/ctype.h:103:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:104:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:105:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:106:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:107:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:108:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:109:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:110:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:111:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:112:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:116:30: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:119:30: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:121:1: error: ‘__END_NAMESPACE_STD’ does not name a type
In file included from /usr/include/c++/4.5/string:45:0,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/bits/localefwd.h:133:40: error: ‘mbstate_t’ was not declared in this scope
/usr/include/c++/4.5/bits/localefwd.h:133:49: error: template argument 3 is invalid
/usr/include/c++/4.5/bits/localefwd.h:135:43: error: ‘mbstate_t’ was not declared in this scope
/usr/include/c++/4.5/bits/localefwd.h:135:52: error: template argument 3 is invalid
In file included from /usr/include/sched.h:34:0,
from /usr/include/pthread.h:25,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:41,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr.h:162,
from /usr/include/c++/4.5/ext/atomicity.h:34,
from /usr/include/c++/4.5/bits/basic_string.h:41,
from /usr/include/c++/4.5/string:53,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/time.h:74:1: error: ‘__BEGIN_NAMESPACE_STD’ does not name a type
/usr/include/time.h:77:1: error: ‘__END_NAMESPACE_STD’ does not name a type
In file included from /usr/include/sched.h:43:0,
from /usr/include/pthread.h:25,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:41,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr.h:162,
from /usr/include/c++/4.5/ext/atomicity.h:34,
from /usr/include/c++/4.5/bits/basic_string.h:41,
from /usr/include/c++/4.5/string:53,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/bits/sched.h:79:1: error: ‘__BEGIN_DECLS’ does not name a type
/usr/include/bits/sched.h:199:1: error: ‘__BEGIN_DECLS’ does not name a type
/usr/include/bits/sched.h:203:53: error: expected initializer before ‘__THROW’
/usr/include/bits/sched.h:204:48: error: expected initializer before ‘__THROW’
/usr/include/bits/sched.h:206:1: error: ‘__END_DECLS’ does not name a type
In file included from /usr/include/pthread.h:25:0,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:41,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr.h:162,
from /usr/include/c++/4.5/ext/atomicity.h:34,
from /usr/include/c++/4.5/bits/basic_string.h:41,
from /usr/include/c++/4.5/string:53,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/sched.h:55:72: error: expected initializer before ‘__THROW’
/usr/include/sched.h:59:48: error: expected initializer before ‘__THROW’
/usr/include/sched.h:62:47: error: expected initializer before ‘__THROW’
/usr/include/sched.h:65:31: error: expected initializer before ‘__THROW’
/usr/include/sched.h:68:53: error: expected initializer before ‘__THROW’
/usr/include/sched.h:71:53: error: expected initializer before ‘__THROW’
/usr/include/sched.h:74:72: error: expected initializer before ‘__THROW’
/usr/include/sched.h:126:1: error: ‘__END_DECLS’ does not name a type
In file included from /usr/include/pthread.h:26:0,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:41,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr.h:162,
from /usr/include/c++/4.5/ext/atomicity.h:34,
from /usr/include/c++/4.5/bits/basic_string.h:41,
from /usr/include/c++/4.5/string:53,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/time.h:58:1: error: ‘__BEGIN_NAMESPACE_STD’ does not name a type
/usr/include/time.h:61:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/time.h:153:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/time.h:186:8: error: ‘time_t’ does not name a type
/usr/include/time.h:189:25: error: ‘time_t’ was not declared in this scope
/usr/include/time.h:189:41: error: ‘time_t’ was not declared in this scope
/usr/include/time.h:189:55: error: initializer expression list treated as compound expression
/usr/include/time.h:190:6: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/time.h:193:8: error: ‘time_t’ does not name a type
/usr/include/time.h:201:40: error: expected initializer before ‘__THROW’
/usr/include/time.h:202:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/time.h:237:38: error: ‘time_t’ does not name a type
/usr/include/time.h:237:55: error: expected initializer before ‘__THROW’
/usr/include/time.h:238:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/time.h:258:29: error: ‘time_t’ does not name a type
/usr/include/time.h:258:46: error: expected initializer before ‘__THROW’
/usr/include/time.h:259:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/time.h:417:1: error: ‘__END_DECLS’ does not name a type
In file included from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:41:0,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr.h:162,
from /usr/include/c++/4.5/ext/atomicity.h:34,
from /usr/include/c++/4.5/bits/basic_string.h:41,
from /usr/include/c++/4.5/string:53,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/pthread.h:220:1: error: ‘__BEGIN_DECLS’ does not name a type
/usr/include/pthread.h:242:26: error: ‘pthread_t’ was not declared in this scope
/usr/include/pthread.h:242:42: error: expected primary-expression before ‘void’
/usr/include/pthread.h:242:64: error: initializer expression list treated as compound expression
/usr/include/pthread.h:263:28: error: ‘pthread_t’ was not declared in this scope
/usr/include/pthread.h:263:44: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:267:8: error: ‘pthread_t’ does not name a type
/usr/include/pthread.h:270:27: error: ‘pthread_t’ was not declared in this scope
/usr/include/pthread.h:270:48: error: ‘pthread_t’ was not declared in this scope
/usr/include/pthread.h:270:67: error: initializer expression list treated as compound expression
/usr/include/pthread.h:270:69: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:278:55: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:282:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:287:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:292:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:298:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:303:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:310:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:315:21: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:320:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:324:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:329:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:334:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:340:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:344:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:349:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:357:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:362:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:369:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:413:35: error: ‘pthread_t’ was not declared in this scope
/usr/include/pthread.h:413:62: error: expected primary-expression before ‘int’
/usr/include/pthread.h:414:7: error: expected primary-expression before ‘__const’
/usr/include/pthread.h:414:42: error: initializer expression list treated as compound expression
/usr/include/pthread.h:415:6: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:418:35: error: ‘pthread_t’ was not declared in this scope
/usr/include/pthread.h:419:7: error: expected primary-expression before ‘int’
/usr/include/pthread.h:420:7: error: expected primary-expression before ‘struct’
/usr/include/pthread.h:420:45: error: initializer expression list treated as compound expression
/usr/include/pthread.h:421:6: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:424:34: error: ‘pthread_t’ was not declared in this scope
/usr/include/pthread.h:424:61: error: expected primary-expression before ‘int’
/usr/include/pthread.h:424:71: error: initializer expression list treated as compound expression
/usr/include/pthread.h:425:6: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:479:36: error: expected initializer before ‘__nonnull’
/usr/include/pthread.h:497:28: error: ‘pthread_t’ was not declared in this scope
/usr/include/pthread.h:727:70: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:735:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:739:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:743:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:747:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:758:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:765:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:772:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:791:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:795:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:801:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:806:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:825:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:831:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:837:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:842:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:954:23: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:958:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:962:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:966:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:975:6: error: expected initializer before ‘__nonnull’
/usr/include/pthread.h:987:19: error: expected initializer before ‘__nonnull’
/usr/include/pthread.h:993:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:997:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:1003:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:1007:21: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:1097:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:1100:53: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:1103:56: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:1107:30: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:1131:31: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:1143:1: error: ‘__END_DECLS’ does not name a type
In file included from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:42:0,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr.h:162,
from /usr/include/c++/4.5/ext/atomicity.h:34,
from /usr/include/c++/4.5/bits/basic_string.h:41,
from /usr/include/c++/4.5/string:53,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/unistd.h:288:54: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:331:65: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:357:8: error: ‘ssize_t’ does not name a type
/usr/include/unistd.h:363:8: error: ‘ssize_t’ does not name a type
/usr/include/unistd.h:414:36: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:429:52: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:471:6: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:494:41: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:508:50: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:528:27: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:531:39: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:549:30: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:561:6: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:566:6: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:571:6: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:576:6: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:582:6: error: expected initializer before ‘__THROW’
In file included from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:42:0,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr.h:162,
from /usr/include/c++/4.5/ext/atomicity.h:34,
from /usr/include/c++/4.5/bits/basic_string.h:41,
from /usr/include/c++/4.5/string:53,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/unistd.h:610:6: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:613:50: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:616:38: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:625:30: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:628:31: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:633:31: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:643:42: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:652:52: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:686:30: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:694:30: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:697:31: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:700:30: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:703:31: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:708:53: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:719:35: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:736:35: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:775:28: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:789:33: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:794:6: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:798:30: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:810:6: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:845:42: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:854:41: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:858:37: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:861:52: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:1163:1: error: ‘__END_DECLS’ does not name a type
In file included from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr.h:162:0,
from /usr/include/c++/4.5/ext/atomicity.h:34,
from /usr/include/c++/4.5/bits/basic_string.h:41,
from /usr/include/c++/4.5/string:53,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:118:1: error: ‘pthread_once’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:118:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:119:1: error: ‘pthread_getspecific’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:119:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:120:1: error: ‘pthread_setspecific’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:120:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:122:1: error: ‘pthread_create’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:122:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:125:1: error: ‘pthread_self’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:125:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:128:1: error: ‘sched_yield’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:128:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:130:1: error: ‘pthread_mutex_lock’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:130:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:131:1: error: ‘pthread_mutex_trylock’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:131:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:134:1: error: ‘pthread_mutex_timedlock’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:134:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:137:1: error: ‘pthread_mutex_unlock’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:137:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:138:1: error: ‘pthread_mutex_init’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:138:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:139:1: error: ‘pthread_mutex_destroy’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:139:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:141:1: error: ‘pthread_cond_broadcast’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:141:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:142:1: error: ‘pthread_cond_signal’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:142:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:143:1: error: ‘pthread_cond_wait’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:143:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:144:1: error: ‘pthread_cond_timedwait’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:144:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:145:1: error: ‘pthread_cond_destroy’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:145:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:148:1: error: ‘pthread_key_create’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:148:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:149:1: error: ‘pthread_key_delete’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:149:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:150:1: error: ‘pthread_mutexattr_init’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:150:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:151:1: error: ‘pthread_mutexattr_settype’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:151:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:152:1: error: ‘pthread_mutexattr_destroy’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:152:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:649:19: error: ‘__gthread_create’ declared as an ‘inline’ variable
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:649:19: error: ‘__gthread_t’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:649:32: error: ‘__threadid’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:649:44: error: expected primary-expression before ‘void’
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:650:5: error: expected primary-expression before ‘void’
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:650:17: error: initializer expression list treated as compound expression
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:651:1: error: expected ‘,’ or ‘;’ before ‘{’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:656:17: error: ‘__gthread_join’ declared as an ‘inline’ variable
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:656:17: error: ‘__gthread_t’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:656:41: error: expected primary-expression before ‘void’
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:656:59: error: initializer expression list treated as compound expression
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:657:1: error: expected ‘,’ or ‘;’ before ‘{’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:662:19: error: ‘__gthread_detach’ declared as an ‘inline’ variable
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:662:19: error: ‘__gthread_t’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:663:1: error: expected ‘,’ or ‘;’ before ‘{’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:668:18: error: ‘__gthread_equal’ declared as an ‘inline’ variable
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:668:18: error: ‘__gthread_t’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:668:36: error: ‘__gthread_t’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:668:52: error: initializer expression list treated as compound expression
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:669:1: error: expected ‘,’ or ‘;’ before ‘{’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:673:15: error: ‘__gthread_t’ does not name a type
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_yield()’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:682:33: error: ‘__gthrw_sched_yield’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_once(__gthread_once_t*, void (*)())’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:689:50: error: ‘__gthrw_pthread_once’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_key_create(__gthread_key_t*, void (*)(void*))’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:697:53: error: ‘__gthrw_pthread_key_create’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_key_delete(__gthread_key_t)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:703:45: error: ‘__gthrw_pthread_key_delete’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘void* __gthread_getspecific(__gthread_key_t)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:709:46: error: ‘__gthrw_pthread_getspecific’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_setspecific(__gthread_key_t, const void*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:715:53: error: ‘__gthrw_pthread_setspecific’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_mutex_destroy(__gthread_mutex_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:722:52: error: ‘__gthrw_pthread_mutex_destroy’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_mutex_lock(__gthread_mutex_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:731:49: error: ‘__gthrw_pthread_mutex_lock’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_mutex_trylock(__gthread_mutex_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:740:52: error: ‘__gthrw_pthread_mutex_trylock’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_mutex_timedlock(__gthread_mutex_t*, const __gthread_time_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:752:69: error: ‘__gthrw_pthread_mutex_timedlock’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_mutex_unlock(__gthread_mutex_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:763:51: error: ‘__gthrw_pthread_mutex_unlock’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_recursive_mutex_init_function(__gthread_recursive_mutex_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:777:54: error: ‘__gthrw_pthread_mutexattr_init’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:780:10: error: ‘PTHREAD_MUTEX_RECURSIVE’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:780:33: error: ‘__gthrw_pthread_mutexattr_settype’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:782:54: error: ‘__gthrw_pthread_mutex_init’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:784:52: error: ‘__gthrw_pthread_mutexattr_destroy’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_cond_broadcast(__gthread_cond_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:823:50: error: ‘__gthrw_pthread_cond_broadcast’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_cond_signal(__gthread_cond_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:829:47: error: ‘__gthrw_pthread_cond_signal’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_cond_wait(__gthread_cond_t*, __gthread_mutex_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:835:54: error: ‘__gthrw_pthread_cond_wait’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_cond_timedwait(__gthread_cond_t*, __gthread_mutex_t*, const __gthread_time_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:842:74: error: ‘__gthrw_pthread_cond_timedwait’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_cond_destroy(__gthread_cond_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:863:48: error: ‘__gthrw_pthread_cond_destroy’ cannot be used as a function
In file included from /usr/include/c++/4.5/bits/ios_base.h:43:0,
from /usr/include/c++/4.5/ios:43,
from /usr/include/c++/4.5/ostream:40,
from /usr/include/c++/4.5/iostream:40,
from jsoncpp-src-0.5.0/include/json/reader.h:9,
from jsoncpp-src-0.5.0/include/json/json.h:6,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/bits/locale_classes.h: At global scope:
/usr/include/c++/4.5/bits/locale_classes.h:346:12: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_classes.h:377:24: error: ‘__c_locale’ has not been declared
/usr/include/c++/4.5/bits/locale_classes.h:378:10: error: ‘__c_locale’ has not been declared
/usr/include/c++/4.5/bits/locale_classes.h:380:12: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_classes.h:384:25: error: ‘__c_locale’ has not been declared
/usr/include/c++/4.5/bits/locale_classes.h:386:12: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_classes.h:391:12: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_classes.h:623:7: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_classes.h:651:26: error: expected ‘)’ before ‘__cloc’
/usr/include/c++/4.5/bits/locale_classes.h: In constructor ‘std::collate<_CharT>::collate(size_t)’:
/usr/include/c++/4.5/bits/locale_classes.h:638:24: error: class ‘std::collate<_CharT>’ does not have any field named ‘_M_c_locale_collate’
/usr/include/c++/4.5/bits/locale_classes.h:638:60: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available
/usr/include/c++/4.5/bits/locale_classes.h:638:60: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/include/c++/4.5/bits/locale_classes.h: In destructor ‘virtual std::collate<_CharT>::~collate()’:
/usr/include/c++/4.5/bits/locale_classes.h:715:29: error: ‘_M_c_locale_collate’ was not declared in this scope
In file included from /usr/include/c++/4.5/cwctype:46:0,
from /usr/include/c++/4.5/bits/locale_facets.h:41,
from /usr/include/c++/4.5/bits/basic_ios.h:39,
from /usr/include/c++/4.5/ios:45,
from /usr/include/c++/4.5/ostream:40,
from /usr/include/c++/4.5/iostream:40,
from jsoncpp-src-0.5.0/include/json/reader.h:9,
from jsoncpp-src-0.5.0/include/json/json.h:6,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/wctype.h: At global scope:
/usr/include/wctype.h:50:1: error: ‘__BEGIN_NAMESPACE_C99’ does not name a type
/usr/include/wctype.h:54:1: error: ‘__END_NAMESPACE_C99’ does not name a type
/usr/include/wctype.h:103:1: error: ‘__BEGIN_DECLS’ does not name a type
/usr/include/wctype.h:118:35: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:121:35: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:125:35: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:129:35: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:134:35: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:137:35: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:142:35: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:147:35: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:152:35: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:157:36: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:172:8: error: ‘wctype_t’ does not name a type
/usr/include/wctype.h:176:35: error: ‘wctype_t’ has not been declared
/usr/include/wctype.h:176:52: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:177:1: error: ‘__END_NAMESPACE_C99’ does not name a type
/usr/include/wctype.h:188:1: error: ‘__END_NAMESPACE_C99’ does not name a type
/usr/include/wctype.h:198:38: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:199:1: error: ‘__END_NAMESPACE_C99’ does not name a type
/usr/include/wctype.h:222:39: error: ‘wctrans_t’ has not been declared
/usr/include/wctype.h:222:57: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:223:1: error: ‘__END_NAMESPACE_C99’ does not name a type
In file included from /usr/include/c++/4.5/bits/locale_facets.h:43:0,
from /usr/include/c++/4.5/bits/basic_ios.h:39,
from /usr/include/c++/4.5/ios:45,
from /usr/include/c++/4.5/ostream:40,
from /usr/include/c++/4.5/iostream:40,
from jsoncpp-src-0.5.0/include/json/reader.h:9,
from jsoncpp-src-0.5.0/include/json/json.h:6,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:48:35: error: ‘_ISupper’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:49:32: error: ‘_ISlower’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:50:32: error: ‘_ISalpha’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:51:32: error: ‘_ISdigit’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:52:33: error: ‘_ISxdigit’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:53:32: error: ‘_ISspace’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:54:32: error: ‘_ISprint’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:55:32: error: ‘_ISalpha’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:55:43: error: ‘_ISdigit’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:55:54: error: ‘_ISpunct’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:56:32: error: ‘_IScntrl’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:57:32: error: ‘_ISpunct’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:58:32: error: ‘_ISalpha’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:58:43: error: ‘_ISdigit’ was not declared in this scope
In file included from /usr/include/c++/4.5/bits/basic_ios.h:39:0,
from /usr/include/c++/4.5/ios:45,
from /usr/include/c++/4.5/ostream:40,
from /usr/include/c++/4.5/iostream:40,
from jsoncpp-src-0.5.0/include/json/reader.h:9,
from jsoncpp-src-0.5.0/include/json/json.h:6,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/bits/locale_facets.h:67:12: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_facets.h:73:12: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_facets.h:78:12: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_facets.h:83:12: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_facets.h:682:7: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_facets.h:723:24: error: expected ‘)’ before ‘__cloc’
/usr/include/c++/4.5/bits/locale_facets.h:1180:15: error: ‘wctype_t’ does not name a type
/usr/include/c++/4.5/bits/locale_facets.h:1183:7: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_facets.h:1192:7: error: ‘__wmask_type’ does not name a type
/usr/include/c++/4.5/bits/locale_facets.h:1218:24: error: expected ‘)’ before ‘__cloc’
/usr/include/c++/4.5/bits/locale_facets.h:1221:7: error: ‘__wmask_type’ does not name a type
In file included from /usr/include/c++/4.5/bits/basic_ios.h:39:0,
from /usr/include/c++/4.5/ios:45,
from /usr/include/c++/4.5/ostream:40,
from /usr/include/c++/4.5/iostream:40,
from jsoncpp-src-0.5.0/include/json/reader.h:9,
from jsoncpp-src-0.5.0/include/json/json.h:6,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/bits/locale_facets.h:1687:27: error: expected ‘)’ before ‘__cloc’
/usr/include/c++/4.5/bits/locale_facets.h:1844:30: error: ‘__c_locale’ has not been declared
/usr/include/c++/4.5/bits/locale_facets.h:1855:44: error: variable or field ‘_M_initialize_numpunct’ declared void
/usr/include/c++/4.5/bits/locale_facets.h:1855:44: error: ‘__c_locale’ was not declared in this scope
/usr/include/c++/4.5/bits/locale_facets.h:1863:47: error: variable or field ‘_M_initialize_numpunct’ declared void
/usr/include/c++/4.5/bits/locale_facets.h:1863:47: error: ‘__c_locale’ was not declared in this scope
/usr/include/c++/4.5/bits/locale_facets.h: In constructor ‘std::numpunct_byname<_CharT>::numpunct_byname(const char*, size_t)’:
/usr/include/c++/4.5/bits/locale_facets.h:1881:6: error: ‘__c_locale’ was not declared in this scope
/usr/include/c++/4.5/bits/locale_facets.h:1881:17: error: expected ‘;’ before ‘__tmp’
/usr/include/c++/4.5/bits/locale_facets.h:1882:31: error: ‘__tmp’ was not declared in this scope
In file included from /usr/include/c++/4.5/bits/locale_facets.h:2601:0,
from /usr/include/c++/4.5/bits/basic_ios.h:39,
from /usr/include/c++/4.5/ios:45,
from /usr/include/c++/4.5/ostream:40,
from /usr/include/c++/4.5/iostream:40,
from jsoncpp-src-0.5.0/include/json/reader.h:9,
from jsoncpp-src-0.5.0/include/json/json.h:6,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/bits/locale_facets.tcc: In member function ‘virtual _InIter std::num_get<_CharT, _InIter>::do_get(iter_type, iter_type, std::ios_base&, std::ios_base::iostate&, float&) const’:
/usr/include/c++/4.5/bits/locale_facets.tcc:692:71: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available
/usr/include/c++/4.5/bits/locale_facets.tcc: In member function ‘virtual _InIter std::num_get<_CharT, _InIter>::do_get(iter_type, iter_type, std::ios_base&, std::ios_base::iostate&, double&) const’:
/usr/include/c++/4.5/bits/locale_facets.tcc:707:71: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available
/usr/include/c++/4.5/bits/locale_facets.tcc: In member function ‘virtual _InIter std::num_get<_CharT, _InIter>::do_get(iter_type, iter_type, std::ios_base&, std::ios_base::iostate&, long double&) const’:
/usr/include/c++/4.5/bits/locale_facets.tcc:739:71: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available
/usr/include/c++/4.5/bits/locale_facets.tcc: In member function ‘_OutIter std::num_put<_CharT, _OutIter>::_M_insert_float(_OutIter, std::ios_base&, _CharT, char, _ValueT) const’:
/usr/include/c++/4.5/bits/locale_facets.tcc:995:48: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available
/usr/include/c++/4.5/bits/locale_facets.tcc:1003:52: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In file included from /usr/include/bits/types.h:31,
from /usr/include/unistd.h:186,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:3:
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/stddef.h:213: error: expected constructor, destructor, or type conversion before "typedef"
In file included from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:3:
/usr/include/unistd.h:256: error: expected initializer before "__THROW"
/usr/include/unistd.h:287: error: expected initializer before "__THROW"
/usr/include/unistd.h:312: error: `size_t' has not been declared
/usr/include/unistd.h:318: error: `size_t' has not been declared
/usr/include/unistd.h:369: error: expected initializer before "__THROW"
/usr/include/unistd.h:378: error: expected initializer before "__THROW"
/usr/include/unistd.h:419: error: expected initializer before "__THROW"
/usr/include/unistd.h:434: error: expected initializer before "__THROW"
/usr/include/unistd.h:448: error: `size_t' has not been declared
/usr/include/unistd.h:448: error: expected initializer before "__THROW"
/usr/include/unistd.h:466: error: expected initializer before "__THROW"
/usr/include/unistd.h:469: error: expected initializer before "__THROW"
/usr/include/unistd.h:481: error: expected initializer before "__THROW"
/usr/include/unistd.h:493: error: expected initializer before "__THROW"
/usr/include/unistd.h:498: error: expected initializer before "__THROW"
/usr/include/unistd.h:503: error: expected initializer before "__THROW"
/usr/include/unistd.h:508: error: expected initializer before "__THROW"
/usr/include/unistd.h:514: error: expected initializer before "__THROW"
In file included from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:3:
/usr/include/unistd.h:534: error: expected initializer before "__THROW"
/usr/include/unistd.h:537: error: expected initializer before "__THROW"
/usr/include/unistd.h:540: error: expected initializer before "__THROW"
/usr/include/unistd.h:549: error: expected initializer before "__THROW"
/usr/include/unistd.h:552: error: expected initializer before "__THROW"
/usr/include/unistd.h:557: error: expected initializer before "__THROW"
/usr/include/unistd.h:567: error: expected initializer before "__THROW"
/usr/include/unistd.h:576: error: expected initializer before "__THROW"
/usr/include/unistd.h:610: error: expected initializer before "__THROW"
/usr/include/unistd.h:618: error: expected initializer before "__THROW"
/usr/include/unistd.h:621: error: expected initializer before "__THROW"
/usr/include/unistd.h:624: error: expected initializer before "__THROW"
/usr/include/unistd.h:627: error: expected initializer before "__THROW"
/usr/include/unistd.h:632: error: expected initializer before "__THROW"
/usr/include/unistd.h:643: error: expected initializer before "__THROW"
/usr/include/unistd.h:660: error: expected initializer before "__THROW"
/usr/include/unistd.h:695: error: expected initializer before "__THROW"
/usr/include/unistd.h:708: error: expected initializer before "__THROW"
/usr/include/unistd.h:712: error: `size_t' has not been declared
/usr/include/unistd.h:713: error: expected initializer before "__THROW"
/usr/include/unistd.h:717: error: expected initializer before "__THROW"
/usr/include/unistd.h:729: error: expected initializer before "__THROW"
/usr/include/unistd.h:744: error: expected initializer before "__THROW"
/usr/include/unistd.h:747: error: expected initializer before "__THROW"
/usr/include/unistd.h:751: error: expected initializer before "__THROW"
/usr/include/unistd.h:754: error: expected initializer before "__THROW"
In file included from /usr/include/uuid/uuid.h:15,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:4:
/usr/include/unistd.h:1043: error: `__END_DECLS' does not name a type
In file included from /usr/include/sys/types.h:133,
from /usr/include/uuid/uuid.h:15,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:4:
/usr/include/time.h:76: error: expected constructor, destructor, or type conversion before "typedef"
/usr/include/time.h:92: error: expected constructor, destructor, or type conversion before "typedef"
In file included from /usr/include/uuid/uuid.h:15,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:4:
/usr/include/sys/types.h:158:20: missing binary operator before token "("
In file included from /usr/include/sys/time.h:28,
from /usr/include/uuid/uuid.h:16,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:4:
/usr/include/bits/time.h:69: error: expected constructor, destructor, or type conversion before "struct"
In file included from /usr/include/sys/time.h:30,
from /usr/include/uuid/uuid.h:16,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:4:
/usr/include/sys/select.h:109: error: expected constructor, destructor, or type conversion before "extern"
In file included from /usr/include/uuid/uuid.h:16,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:4:
/usr/include/sys/select.h:128: error: `__END_DECLS' does not name a type
/usr/include/sys/time.h:73: error: `__timezone_ptr_t' has not been declared
/usr/include/sys/time.h:73: error: expected initializer before "__THROW"
/usr/include/sys/time.h:110: error: field `it_interval' has incomplete type
/usr/include/sys/time.h:112: error: field `it_value' has incomplete type
/usr/include/sys/time.h:126: error: expected initializer before "__THROW"
/usr/include/sys/time.h:133: error: expected initializer before "__THROW"
/usr/include/sys/time.h:139: error: expected initializer before "__THROW"
In file included from /usr/include/uuid/uuid.h:17,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:4:
/usr/include/sys/time.h:181: error: `__END_DECLS' does not name a type
In file included from /usr/include/uuid/uuid.h:17,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:4:
/usr/include/time.h:60: error: expected constructor, destructor, or type conversion before "typedef"
/usr/include/time.h:61: error: `__END_NAMESPACE_STD' does not name a type
/usr/include/time.h:151: error: `__END_NAMESPACE_STD' does not name a type
/usr/include/time.h:184: error: `time_t' does not name a type
/usr/include/time.h:187: error: `time_t' was not declared in this scope
/usr/include/time.h:187: error: `time_t' was not declared in this scope
/usr/include/time.h:188: error: initializer expression list treated as compound expression
/usr/include/time.h:188: error: expected `,' or `;' before "__THROW"
/usr/include/time.h:191: error: `time_t' does not name a type
/usr/include/time.h:197: error: `size_t' does not name a type
/usr/include/time.h:200: error: `__END_NAMESPACE_STD' does not name a type
/usr/include/time.h:233: error: expected `,' or `…' before '*' token
/usr/include/time.h:233: error: expected initializer before "__THROW"
/usr/include/time.h:234: error: `__END_NAMESPACE_STD' does not name a type
/usr/include/time.h:254: error: expected `,' or `…' before '*' token
/usr/include/time.h:254: error: expected initializer before "__THROW"
/usr/include/time.h:272: error: expected constructor, destructor, or type conversion before "extern"
In file included from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:4:
/usr/include/uuid/uuid.h:19: error: expected constructor, destructor, or type conversion before "typedef"
/usr/include/uuid/uuid.h:32: error: variable or field `uuid_clear' declared void
/usr/include/uuid/uuid.h:32: error: `uuid_t' was not declared in this scope
/usr/include/uuid/uuid.h:35: error: expected `,' or `…' before "uu1"
/usr/include/uuid/uuid.h:38: error: variable or field `uuid_copy' declared void
/usr/include/uuid/uuid.h:38: error: `uuid_t' was not declared in this scope
/usr/include/uuid/uuid.h:38: error: expected primary-expression before "const"
/usr/include/uuid/uuid.h:38: error: initializer expression list treated as compound expression
/usr/include/uuid/uuid.h:41: error: variable or field `uuid_generate' declared void
/usr/include/uuid/uuid.h:41: error: `uuid_t' was not declared in this scope
/usr/include/uuid/uuid.h:42: error: variable or field `uuid_generate_random' declared void
/usr/include/uuid/uuid.h:42: error: `uuid_t' was not declared in this scope
/usr/include/uuid/uuid.h:43: error: variable or field `uuid_generate_time' declared void
/usr/include/uuid/uuid.h:43: error: `uuid_t' was not declared in this scope
/usr/include/uuid/uuid.h:46: error: expected `,' or `…' before "uu"
/usr/include/uuid/uuid.h:49: error: `uuid_t' has not been declared
/usr/include/uuid/uuid.h:52: error: expected `,' or `…' before "uu"
/usr/include/uuid/uuid.h:55: error: `time_t' does not name a type
/usr/include/uuid/uuid.h:56: error: expected `,' or `…' before "uu"
/usr/include/uuid/uuid.h:57: error: expected `,' or `…' before "uu"
In file included from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:5:
/usr/local/include/openssl/sha.h:113: error: `size_t' has not been declared
/usr/local/include/openssl/sha.h:115: error: `size_t' has not been declared
/usr/local/include/openssl/sha.h:120: error: `size_t' has not been declared
/usr/local/include/openssl/sha.h:122: error: `size_t' has not been declared
/usr/local/include/openssl/sha.h:142: error: `size_t' has not been declared
/usr/local/include/openssl/sha.h:144: error: `size_t' has not been declared
/usr/local/include/openssl/sha.h:146: error: `size_t' has not been declared
/usr/local/include/openssl/sha.h:148: error: `size_t' has not been declared
/usr/local/include/openssl/sha.h:189: error: `size_t' has not been declared
/usr/local/include/openssl/sha.h:191: error: `size_t' has not been declared
/usr/local/include/openssl/sha.h:193: error: `size_t' has not been declared
/usr/local/include/openssl/sha.h:195: error: `size_t' has not been declared
In file included from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:6:
/usr/local/include/openssl/md5.h:112: error: `size_t' has not been declared
/usr/local/include/openssl/md5.h:114: error: `size_t' has not been declared
In file included from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstring:49,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:45,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstddef:53: error: `::size_t' has not been declared
In file included from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstring:51,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:45,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/include/string.h:28: error: `__BEGIN_DECLS' does not name a type
/usr/include/string.h:43: error: `size_t' has not been declared
/usr/include/string.h:44: error: expected initializer before "__THROW"
/usr/include/string.h:45: error: `__END_NAMESPACE_STD' does not name a type
/usr/include/string.h:62: error: `size_t' has not been declared
/usr/include/string.h:63: error: expected initializer before "__THROW"
/usr/include/string.h:66: error: `size_t' has not been declared
/usr/include/string.h:67: error: expected initializer before "__THROW"
/usr/include/string.h:68: error: `__END_NAMESPACE_STD' does not name a type
/usr/include/string.h:88: error: `size_t' has not been declared
/usr/include/string.h:89: error: expected initializer before "__THROW"
/usr/include/string.h:93: error: expected initializer before "__THROW"
/usr/include/string.h:96: error: `size_t' has not been declared
/usr/include/string.h:96: error: expected initializer before "__THROW"
/usr/include/string.h💯 error: expected initializer before "__THROW"
/usr/include/string.h:102: error: `size_t' has not been declared
/usr/include/string.h:103: error: expected initializer before "__THROW"
/usr/include/string.h:107: error: expected initializer before "__THROW"
/usr/include/string.h:109: error: `size_t' does not name a type
/usr/include/string.h:112: error: `__END_NAMESPACE_STD' does not name a type
/usr/include/string.h:171: error: expected initializer before "__THROW"
/usr/include/string.h:172: error: `__END_NAMESPACE_STD' does not name a type
/usr/include/string.h:188: error: `size_t' does not name a type
/usr/include/string.h:192: error: expected initializer before "__THROW"
/usr/include/string.h:195: error: expected initializer before "__THROW"
/usr/include/string.h:200: error: expected initializer before "__THROW"
/usr/include/string.h:205: error: expected constructor, destructor, or type conversion before "extern"
/usr/include/string.h:242: error: expected constructor, destructor, or type conversion before "extern"
/usr/include/string.h:244: error: `__END_NAMESPACE_STD' does not name a type
/usr/include/string.h:288: error: expected constructor, destructor, or type conversion before "extern"
In file included from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:45,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstring:77: error: expected constructor, destructor, or type conversion before "namespace"
In file included from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:52,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:67,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/include/stdlib.h:35: error: `__BEGIN_DECLS' does not name a type
/usr/include/stdlib.h:102: error: expected constructor, destructor, or type conversion before ';' token
/usr/include/stdlib.h:140: error: expected constructor, destructor, or type conversion before "extern"
/usr/include/stdlib.h:145: error: expected constructor, destructor, or type conversion before "extern"
/usr/include/stdlib.h:149: error: expected initializer before "__THROW"
/usr/include/stdlib.h:152: error: expected initializer before "__THROW"
/usr/include/stdlib.h:153: error: `__END_NAMESPACE_STD' does not name a type
/usr/include/stdlib.h:167: error: `__END_NAMESPACE_STD' does not name a type
/usr/include/stdlib.h:189: error: expected initializer before "__THROW"
/usr/include/stdlib.h:277: error: expected constructor, destructor, or type conversion before "extern"
/usr/include/stdlib.h:282: error: expected initializer before "__THROW"
/usr/include/stdlib.h:285: error: expected initializer before "__THROW"
/usr/include/stdlib.h:290: error: expected initializer before "__THROW"
/usr/include/stdlib.h:297: error: expected initializer before "__THROW"
/usr/include/stdlib.h:306: error: expected initializer before "__THROW"
/usr/include/stdlib.h:315: error: expected initializer before "__THROW"
/usr/include/stdlib.h:493: error: expected constructor, destructor, or type conversion before "extern"
/usr/include/stdlib.h:495: error: expected initializer before "__THROW"
/usr/include/stdlib.h:496: error: `__END_NAMESPACE_STD' does not name a type
/usr/include/stdlib.h:586: error: `size_t' was not declared in this scope
/usr/include/stdlib.h:586: error: `size_t' was not declared in this scope
/usr/include/stdlib.h:587: error: initializer expression list treated as compound expression
/usr/include/stdlib.h:587: error: expected `,' or `;' before "__THROW"
/usr/include/stdlib.h:588: error: `__END_NAMESPACE_STD' does not name a type
/usr/include/stdlib.h:597: error: expected initializer before "__THROW"
/usr/include/stdlib.h:598: error: `__END_NAMESPACE_STD' does not name a type
/usr/include/stdlib.h:626: error: expected initializer before "__THROW"
/usr/include/stdlib.h:627: error: `__END_NAMESPACE_STD' does not name a type
/usr/include/stdlib.h:641: error: `__END_NAMESPACE_STD' does not name a type
/usr/include/stdlib.h:659: error: expected constructor, destructor, or type conversion before "extern"
/usr/include/stdlib.h:730: error: expected constructor, destructor, or type conversion before "extern"
/usr/include/stdlib.h:757: error: expected constructor, destructor, or type conversion before "typedef"
/usr/include/stdlib.h:767: error: expected constructor, destructor, or type conversion before "extern"
/usr/include/stdlib.h:773: error: `size_t' has not been declared
/usr/include/stdlib.h:773: error: `size_t' has not been declared
/usr/include/stdlib.h:774: error: `__compar_fn_t' has not been declared
/usr/include/stdlib.h:774: error: expected initializer before "__nonnull"
/usr/include/stdlib.h:778: error: expected initializer before "__THROW"
/usr/include/stdlib.h:779: error: expected initializer before "__THROW"
/usr/include/stdlib.h:780: error: `__END_NAMESPACE_STD' does not name a type
/usr/include/stdlib.h:795: error: expected initializer before "__THROW"
/usr/include/stdlib.h:796: error: `__END_NAMESPACE_STD' does not name a type
/usr/include/stdlib.h:870: error: `size_t' has not been declared
/usr/include/stdlib.h:870: error: expected initializer before "__THROW"
/usr/include/stdlib.h:873: error: expected initializer before "__THROW"
/usr/include/stdlib.h:877: error: `size_t' does not name a type
/usr/include/stdlib.h:880: error: `size_t' does not name a type
/usr/include/stdlib.h:883: error: `__END_NAMESPACE_STD' does not name a type
In file included from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:67,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:143: error: `::lldiv_t' has not been declared
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:149: error: `::_Exit' has not been declared
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:159: error: `lldiv_t' does not name a type
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:163: error: `lldiv_t' does not name a type
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:176: error: `::atoll' has not been declared
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:177: error: `::strtoll' has not been declared
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:178: error: `::strtoull' has not been declared
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:180: error: `::strtof' has not been declared
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:181: error: `::strtold' has not been declared
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:187: error: `__gnu_cxx::lldiv_t' has not been declared
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:189: error: `__gnu_cxx::_Exit' has not been declared
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:193: error: `__gnu_cxx::div' has not been declared
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:194: error: `__gnu_cxx::lldiv' has not been declared
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:196: error: `__gnu_cxx::atoll' has not been declared
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:197: error: `__gnu_cxx::strtof' has not been declared
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:198: error: `__gnu_cxx::strtoll' has not been declared
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:199: error: `__gnu_cxx::strtoull' has not been declared
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdlib:200: error: `__gnu_cxx::strtold' has not been declared
In file included from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:69,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/new:82: error: declaration of `operator new' as non-function
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/new:82: error: `size_t' is not a member of `std'
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/new:83: error: declaration of `operator new ' as non-function
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/new:83: error: `size_t' is not a member of `std'
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/new:86: error: declaration of `operator new' as non-function
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/new:86: error: `size_t' is not a member of `std'
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/new:86: error: expected primary-expression before "const"
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/new:87: error: declaration of `operator new ' as non-function
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/new:87: error: `size_t' is not a member of `std'
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/new:87: error: expected primary-expression before "const"
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/new:92: error: declaration of `operator new' as non-function
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/new:92: error: `size_t' is not a member of `std'
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/new:92: error: expected primary-expression before "void"
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/new:93: error: declaration of `operator new ' as non-function
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/new:93: error: `size_t' is not a member of `std'
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/new:93: error: expected primary-expression before "void"
In file included from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdio:52,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/x86_64-redhat-linux/bits/c++locale.h:42,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/iosfwd:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:70,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/include/stdio.h:30: error: `__BEGIN_DECLS' does not name a type
/usr/include/stdio.h:62: error: expected constructor, destructor, or type conversion before "typedef"
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdio:52,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/x86_64-redhat-linux/bits/c++locale.h:42,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/iosfwd:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:70,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/include/gconv.h:72: error: `size_t' has not been declared
/usr/include/gconv.h:88: error: `size_t' has not been declared
/usr/include/gconv.h:97: error: `size_t' has not been declared
/usr/include/gconv.h:174: error: `size_t' does not name a type
/usr/include/gconv.h:176: error: `__data' does not name a type
In file included from /usr/include/libio.h:62,
from /usr/include/stdio.h:72,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdio:52,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/x86_64-redhat-linux/bits/c++locale.h:42,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/iosfwd:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:70,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/include/sys/cdefs.h:45:44: missing binary operator before token "("
/usr/include/sys/cdefs.h:49:44: missing binary operator before token "("
/usr/include/sys/cdefs.h:136:19: missing binary operator before token "("
/usr/include/sys/cdefs.h:194:19: missing binary operator before token "("
/usr/include/sys/cdefs.h:203:19: missing binary operator before token "("
/usr/include/sys/cdefs.h:212:19: missing binary operator before token "("
/usr/include/sys/cdefs.h:221:19: missing binary operator before token "("
/usr/include/sys/cdefs.h:233:19: missing binary operator before token "("
/usr/include/sys/cdefs.h:243:19: missing binary operator before token "("
/usr/include/sys/cdefs.h:252:19: missing binary operator before token "("
/usr/include/sys/cdefs.h:262:20: missing binary operator before token "("
/usr/include/sys/cdefs.h:267:20: missing binary operator before token "("
/usr/include/sys/cdefs.h:274:19: missing binary operator before token "("
In file included from /usr/include/stdio.h:72,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdio:52,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/x86_64-redhat-linux/bits/c++locale.h:42,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/iosfwd:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:70,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/include/libio.h:328: error: `size_t' does not name a type
/usr/include/libio.h:332: error: `size_t' was not declared in this scope
/usr/include/libio.h:360: error: `size_t' has not been declared
/usr/include/libio.h:369: error: `size_t' has not been declared
/usr/include/libio.h:485: error: `size_t' does not name a type
In file included from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdio:52,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/x86_64-redhat-linux/bits/c++locale.h:42,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/iosfwd:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:70,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/include/stdio.h:166: error: expected initializer before '*' token
/usr/include/stdio.h:208: error: `FILE' was not declared in this scope
/usr/include/stdio.h:208: error: `__stream' was not declared in this scope
/usr/include/stdio.h:213: error: `FILE' was not declared in this scope
/usr/include/stdio.h:213: error: `__stream' was not declared in this scope
/usr/include/stdio.h:243: error: expected initializer before '*' token
/usr/include/stdio.h:249: error: expected initializer before '*' token
/usr/include/stdio.h:299: error: variable or field `setbuf' declared void
/usr/include/stdio.h:299: error: `FILE' was not declared in this scope
/usr/include/stdio.h:299: error: expected primary-expression before "__restrict__"
/usr/include/stdio.h:299: error: expected primary-expression before "char"
/usr/include/stdio.h:299: error: initializer expression list treated as compound expression
/usr/include/stdio.h:303: error: `FILE' was not declared in this scope
/usr/include/stdio.h:303: error: expected primary-expression before "__restrict__"
/usr/include/stdio.h:303: error: expected primary-expression before "char"
/usr/include/stdio.h:304: error: expected primary-expression before "int"
/usr/include/stdio.h:304: error: `size_t' was not declared in this scope
/usr/include/stdio.h:304: error: initializer expression list treated as compound expression
/usr/include/stdio.h:323: error: `FILE' was not declared in this scope
/usr/include/stdio.h:323: error: expected primary-expression before "__restrict__"
/usr/include/stdio.h:324: error: expected primary-expression before "const"
/usr/include/stdio.h:324: error: expected primary-expression before '…' token
/usr/include/stdio.h:324: error: initializer expression list treated as compound expression
/usr/include/stdio.h:338: error: `FILE' was not declared in this scope
/usr/include/stdio.h:338: error: expected primary-expression before "__restrict__"
/usr/include/stdio.h:338: error: expected primary-expression before "const"
/usr/include/stdio.h:339: error: expected primary-expression before "__arg"
/usr/include/stdio.h:339: error: initializer expression list treated as compound expression
/usr/include/stdio.h:395: error: `FILE' was not declared in this scope
/usr/include/stdio.h:395: error: expected primary-expression before "__restrict__"
/usr/include/stdio.h:396: error: expected primary-expression before "const"
/usr/include/stdio.h:396: error: expected primary-expression before '…' token
/usr/include/stdio.h:396: error: initializer expression list treated as compound expression
/usr/include/stdio.h:437: error: `FILE' was not declared in this scope
/usr/include/stdio.h:437: error: `__stream' was not declared in this scope
/usr/include/stdio.h:438: error: `FILE' was not declared in this scope
/usr/include/stdio.h:438: error: `__stream' was not declared in this scope
/usr/include/stdio.h:479: error: `FILE' has not been declared
/usr/include/stdio.h:480: error: `FILE' has not been declared
/usr/include/stdio.h:528: error: `FILE' has not been declared
/usr/include/stdio.h:585: error: `FILE' has not been declared
/usr/include/stdio.h:598: error: `FILE' has not been declared
/usr/include/stdio.h:605: error: `size_t' does not name a type
/usr/include/stdio.h:611: error: `size_t' does not name a type
/usr/include/stdio.h:645: error: `FILE' was not declared in this scope
/usr/include/stdio.h:645: error: `__stream' was not declared in this scope
/usr/include/stdio.h:645: error: expected primary-expression before "long"
/usr/include/stdio.h:645: error: expected primary-expression before "int"
/usr/include/stdio.h:645: error: initializer expression list treated as compound expression
/usr/include/stdio.h:650: error: `FILE' was not declared in this scope
/usr/include/stdio.h:650: error: `__stream' was not declared in this scope
/usr/include/stdio.h:655: error: variable or field `rewind' declared void
/usr/include/stdio.h:655: error: `FILE' was not declared in this scope
/usr/include/stdio.h:655: error: `__stream' was not declared in this scope
/usr/include/stdio.h:694: error: `FILE' was not declared in this scope
/usr/include/stdio.h:694: error: expected primary-expression before "__restrict__"
/usr/include/stdio.h:694: error: expected primary-expression before '*' token
/usr/include/stdio.h:694: error: expected primary-expression before "__restrict__"
/usr/include/stdio.h:694: error: initializer expression list treated as compound expression
/usr/include/stdio.h:699: error: `FILE' was not declared in this scope
/usr/include/stdio.h:699: error: `__stream' was not declared in this scope
/usr/include/stdio.h:699: error: expected primary-expression before "const"
/usr/include/stdio.h:699: error: initializer expression list treated as compound expression
/usr/include/stdio.h:722: error: variable or field `clearerr' declared void
/usr/include/stdio.h:722: error: `FILE' was not declared in this scope
/usr/include/stdio.h:722: error: `__stream' was not declared in this scope
/usr/include/stdio.h:724: error: `FILE' was not declared in this scope
/usr/include/stdio.h:724: error: `__stream' was not declared in this scope
/usr/include/stdio.h:726: error: `FILE' was not declared in this scope
/usr/include/stdio.h:726: error: `__stream' was not declared in this scope
In file included from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdio:52,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/x86_64-redhat-linux/bits/c++locale.h:42,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/iosfwd:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:70,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/include/stdio.h:836: error: expected declaration before '}' token
In file included from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdio:52,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/x86_64-redhat-linux/bits/c++locale.h:42,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/iosfwd:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:70,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/include/stdio.h:69:1: unterminated #ifdef
/usr/include/stdio.h:24:1: unterminated #ifndef
In file included from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/x86_64-redhat-linux/bits/c++locale.h:42,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/iosfwd:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:70,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/cstdio:44:1: unterminated #ifndef
In file included from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/iosfwd:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:70,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/x86_64-redhat-linux/bits/c++locale.h:36:1: unterminated #ifndef
In file included from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:70,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/iosfwd:40:1: unterminated #ifndef
In file included from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:61:1: unterminated #ifndef
In file included from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:47,
from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:40:1: unterminated #ifndef
In file included from /home/janry/oltp/handlers/LiveServer/trunk/share/src/LiveServerHandler.cc:7:
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/string:40:1: unterminated #ifndef
make: *** Error 1
make: Leaving directory `/opt/home/janry/oltp/handlers/LiveServer/trunk/build'
make: *** Error 2
make: Leaving directory `/opt/home/janry/oltp/handlers/LiveServer/trunk/build'
make: *** Error 2
make: Leaving directory `/opt/home/janry/oltp/handlers/LiveServer/trunk/build'
make: *** Error 2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2012-11-22
I found erros like yours that add files in /include/json to my proj. than i add entirety, it's just ok
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I got same problem by integrating json cpp includes to my project on xubuntu 32bit platform. I tried to integrate jsoncpp to my project using released debian package and self build. Both results in same issues.
Has anyone solved this issue?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am evaluating json-cpp for a project.
My platform is a 64bit linux machine with gcc version 4.5.2.
I have successfully built json-cpp from the latest sources.
All the tests have also been passed.
But when I tried to compile a sample program I am getting compilation errors.
Does json-cpp supports 64 bit environment?
If it does, Would any one help me to understand the issue behind the below compilation errors?
Thanks in advance.
In file included from /usr/include/c++/4.5/cwchar:47:0,
from /usr/include/c++/4.5/bits/postypes.h:42,
from /usr/include/c++/4.5/bits/char_traits.h:42,
from /usr/include/c++/4.5/string:42,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/wchar.h:75:43: error: missing binary operator before token "("
In file included from /usr/include/sched.h:43:0,
from /usr/include/pthread.h:25,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:41,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr.h:162,
from /usr/include/c++/4.5/ext/atomicity.h:34,
from /usr/include/c++/4.5/bits/basic_string.h:41,
from /usr/include/c++/4.5/string:53,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/bits/sched.h:129:20: error: missing binary operator before token "("
/usr/include/bits/sched.h:167:20: error: missing binary operator before token "("
In file included from /usr/include/c++/4.5/cwchar:47:0,
from /usr/include/c++/4.5/bits/postypes.h:42,
from /usr/include/c++/4.5/bits/char_traits.h:42,
from /usr/include/c++/4.5/string:42,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/wchar.h:104:1: error: ‘__BEGIN_NAMESPACE_C99’ does not name a type
/usr/include/wchar.h:107:1: error: ‘__END_NAMESPACE_C99’ does not name a type
/usr/include/wchar.h:135:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:149:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:153:39: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:157:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:161:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:164:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:165:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:194:56: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:195:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:235:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:237:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:254:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:264:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:275:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:281:32: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:284:45: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:285:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:324:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:328:51: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:333:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:336:65: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:337:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:355:31: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:359:29: error: ‘mbstate_t’ does not name a type
/usr/include/wchar.h:359:46: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:365:10: error: ‘mbstate_t’ has not been declared
/usr/include/wchar.h:365:26: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:369:10: error: ‘mbstate_t’ has not been declared
/usr/include/wchar.h:369:38: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:373:4: error: ‘mbstate_t’ has not been declared
/usr/include/wchar.h:373:32: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:375:9: error: ‘mbstate_t’ has not been declared
/usr/include/wchar.h:375:37: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:376:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:414:5: error: ‘mbstate_t’ has not been declared
/usr/include/wchar.h:414:33: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:415:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:450:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:473:6: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:474:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:788:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/wchar.h:856:1: error: ‘__END_NAMESPACE_C99’ does not name a type
In file included from /usr/include/c++/4.5/bits/postypes.h:42:0,
from /usr/include/c++/4.5/bits/char_traits.h:42,
from /usr/include/c++/4.5/string:42,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/cwchar:143:11: error: ‘::btowc’ has not been declared
/usr/include/c++/4.5/cwchar:144:11: error: ‘::fgetwc’ has not been declared
/usr/include/c++/4.5/cwchar:148:11: error: ‘::fwide’ has not been declared
/usr/include/c++/4.5/cwchar:149:11: error: ‘::fwprintf’ has not been declared
/usr/include/c++/4.5/cwchar:150:11: error: ‘::fwscanf’ has not been declared
/usr/include/c++/4.5/cwchar:153:11: error: ‘::mbrlen’ has not been declared
/usr/include/c++/4.5/cwchar:154:11: error: ‘::mbrtowc’ has not been declared
/usr/include/c++/4.5/cwchar:155:11: error: ‘::mbsinit’ has not been declared
/usr/include/c++/4.5/cwchar:156:11: error: ‘::mbsrtowcs’ has not been declared
/usr/include/c++/4.5/cwchar:160:11: error: ‘::swprintf’ has not been declared
/usr/include/c++/4.5/cwchar:162:11: error: ‘::swscanf’ has not been declared
/usr/include/c++/4.5/cwchar:164:11: error: ‘::vfwprintf’ has not been declared
/usr/include/c++/4.5/cwchar:166:11: error: ‘::vfwscanf’ has not been declared
/usr/include/c++/4.5/cwchar:169:11: error: ‘::vswprintf’ has not been declared
/usr/include/c++/4.5/cwchar:172:11: error: ‘::vswscanf’ has not been declared
/usr/include/c++/4.5/cwchar:174:11: error: ‘::vwprintf’ has not been declared
/usr/include/c++/4.5/cwchar:176:11: error: ‘::vwscanf’ has not been declared
/usr/include/c++/4.5/cwchar:178:11: error: ‘::wcrtomb’ has not been declared
/usr/include/c++/4.5/cwchar:179:11: error: ‘::wcscat’ has not been declared
/usr/include/c++/4.5/cwchar:180:11: error: ‘::wcscmp’ has not been declared
/usr/include/c++/4.5/cwchar:181:11: error: ‘::wcscoll’ has not been declared
/usr/include/c++/4.5/cwchar:182:11: error: ‘::wcscpy’ has not been declared
/usr/include/c++/4.5/cwchar:183:11: error: ‘::wcscspn’ has not been declared
/usr/include/c++/4.5/cwchar:184:11: error: ‘::wcsftime’ has not been declared
/usr/include/c++/4.5/cwchar:185:11: error: ‘::wcslen’ has not been declared
/usr/include/c++/4.5/cwchar:186:11: error: ‘::wcsncat’ has not been declared
/usr/include/c++/4.5/cwchar:187:11: error: ‘::wcsncmp’ has not been declared
/usr/include/c++/4.5/cwchar:188:11: error: ‘::wcsncpy’ has not been declared
/usr/include/c++/4.5/cwchar:189:11: error: ‘::wcsrtombs’ has not been declared
/usr/include/c++/4.5/cwchar:190:11: error: ‘::wcsspn’ has not been declared
/usr/include/c++/4.5/cwchar:191:11: error: ‘::wcstod’ has not been declared
/usr/include/c++/4.5/cwchar:193:11: error: ‘::wcstof’ has not been declared
/usr/include/c++/4.5/cwchar:195:11: error: ‘::wcstok’ has not been declared
/usr/include/c++/4.5/cwchar:196:11: error: ‘::wcstol’ has not been declared
/usr/include/c++/4.5/cwchar:197:11: error: ‘::wcstoul’ has not been declared
/usr/include/c++/4.5/cwchar:198:11: error: ‘::wcsxfrm’ has not been declared
/usr/include/c++/4.5/cwchar:199:11: error: ‘::wctob’ has not been declared
/usr/include/c++/4.5/cwchar:200:11: error: ‘::wmemcmp’ has not been declared
/usr/include/c++/4.5/cwchar:201:11: error: ‘::wmemcpy’ has not been declared
/usr/include/c++/4.5/cwchar:202:11: error: ‘::wmemmove’ has not been declared
/usr/include/c++/4.5/cwchar:203:11: error: ‘::wmemset’ has not been declared
/usr/include/c++/4.5/cwchar:204:11: error: ‘::wprintf’ has not been declared
/usr/include/c++/4.5/cwchar:205:11: error: ‘::wscanf’ has not been declared
/usr/include/c++/4.5/cwchar:206:11: error: ‘::wcschr’ has not been declared
/usr/include/c++/4.5/cwchar:207:11: error: ‘::wcspbrk’ has not been declared
/usr/include/c++/4.5/cwchar:208:11: error: ‘::wcsrchr’ has not been declared
/usr/include/c++/4.5/cwchar:209:11: error: ‘::wcsstr’ has not been declared
/usr/include/c++/4.5/cwchar:210:11: error: ‘::wmemchr’ has not been declared
/usr/include/c++/4.5/cwchar: In function ‘wchar_t* std::wcschr(wchar_t*, wchar_t)’:
/usr/include/c++/4.5/cwchar:215:55: error: invalid conversion from ‘const wchar_t*’ to ‘wchar_t*’
/usr/include/c++/4.5/cwchar:215:55: error: initializing argument 1 of ‘wchar_t* std::wcschr(wchar_t*, wchar_t)’
/usr/include/c++/4.5/cwchar: In function ‘wchar_t* std::wcspbrk(wchar_t*, const wchar_t*)’:
/usr/include/c++/4.5/cwchar:219:58: error: invalid conversion from ‘const wchar_t*’ to ‘wchar_t*’
/usr/include/c++/4.5/cwchar:219:58: error: initializing argument 1 of ‘wchar_t* std::wcspbrk(wchar_t*, const wchar_t*)’
/usr/include/c++/4.5/cwchar: In function ‘wchar_t* std::wcsrchr(wchar_t*, wchar_t)’:
/usr/include/c++/4.5/cwchar:223:56: error: invalid conversion from ‘const wchar_t*’ to ‘wchar_t*’
/usr/include/c++/4.5/cwchar:223:56: error: initializing argument 1 of ‘wchar_t* std::wcsrchr(wchar_t*, wchar_t)’
/usr/include/c++/4.5/cwchar: In function ‘wchar_t* std::wcsstr(wchar_t*, const wchar_t*)’:
/usr/include/c++/4.5/cwchar:227:57: error: invalid conversion from ‘const wchar_t*’ to ‘wchar_t*’
/usr/include/c++/4.5/cwchar:227:57: error: initializing argument 1 of ‘wchar_t* std::wcsstr(wchar_t*, const wchar_t*)’
/usr/include/c++/4.5/cwchar: In function ‘wchar_t* std::wmemchr(wchar_t*, wchar_t, size_t)’:
/usr/include/c++/4.5/cwchar:231:61: error: invalid conversion from ‘const wchar_t*’ to ‘wchar_t*’
/usr/include/c++/4.5/cwchar:231:61: error: initializing argument 1 of ‘wchar_t* std::wmemchr(wchar_t*, wchar_t, size_t)’
/usr/include/c++/4.5/cwchar: At global scope:
/usr/include/c++/4.5/cwchar:249:11: error: ‘::wcstold’ has not been declared
/usr/include/c++/4.5/cwchar:258:11: error: ‘::wcstoll’ has not been declared
/usr/include/c++/4.5/cwchar:259:11: error: ‘::wcstoull’ has not been declared
/usr/include/c++/4.5/cwchar:266:22: error: ‘__gnu_cxx::wcstold’ has not been declared
/usr/include/c++/4.5/cwchar:267:22: error: ‘__gnu_cxx::wcstoll’ has not been declared
/usr/include/c++/4.5/cwchar:268:22: error: ‘__gnu_cxx::wcstoull’ has not been declared
In file included from /usr/include/c++/4.5/bits/char_traits.h:42:0,
from /usr/include/c++/4.5/string:42,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/bits/postypes.h:228:16: error: ‘mbstate_t’ was not declared in this scope
/usr/include/c++/4.5/bits/postypes.h:228:25: error: template argument 1 is invalid
/usr/include/c++/4.5/bits/postypes.h:228:36: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/bits/postypes.h:230:16: error: ‘mbstate_t’ was not declared in this scope
/usr/include/c++/4.5/bits/postypes.h:230:25: error: template argument 1 is invalid
/usr/include/c++/4.5/bits/postypes.h:230:37: error: invalid type in declaration before ‘;’ token
In file included from /usr/include/c++/4.5/string:42:0,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/bits/char_traits.h:70:15: error: ‘mbstate_t’ in namespace ‘std’ does not name a type
/usr/include/c++/4.5/bits/char_traits.h:243:15: error: ‘mbstate_t’ does not name a type
/usr/include/c++/4.5/bits/char_traits.h:314:15: error: ‘mbstate_t’ does not name a type
/usr/include/c++/4.5/bits/char_traits.h: In static member function ‘static int std::char_traits<wchar_t>::compare(const std::char_traits<wchar_t>::char_type*, const std::char_traits<wchar_t>::char_type*, size_t)’:
/usr/include/c++/4.5/bits/char_traits.h:330:39: error: ‘wmemcmp’ was not declared in this scope
/usr/include/c++/4.5/bits/char_traits.h: In static member function ‘static size_t std::char_traits<wchar_t>::length(const std::char_traits<wchar_t>::char_type*)’:
/usr/include/c++/4.5/bits/char_traits.h:334:26: error: ‘wcslen’ was not declared in this scope
/usr/include/c++/4.5/bits/char_traits.h: In static member function ‘static const std::char_traits<wchar_t>::char_type* std::char_traits<wchar_t>::find(const std::char_traits<wchar_t>::char_type*, size_t, const std::char_traits<wchar_t>::char_type&)’:
/usr/include/c++/4.5/bits/char_traits.h:338:37: error: invalid conversion from ‘const std::char_traits<wchar_t>::char_type*’ to ‘wchar_t*’
/usr/include/c++/4.5/bits/char_traits.h:338:37: error: initializing argument 1 of ‘wchar_t* std::wmemchr(wchar_t*, wchar_t, size_t)’
/usr/include/c++/4.5/bits/char_traits.h: In static member function ‘static std::char_traits<wchar_t>::char_type* std::char_traits<wchar_t>::move(std::char_traits<wchar_t>::char_type*, const std::char_traits<wchar_t>::char_type*, size_t)’:
/usr/include/c++/4.5/bits/char_traits.h:342:40: error: ‘wmemmove’ was not declared in this scope
/usr/include/c++/4.5/bits/char_traits.h: In static member function ‘static std::char_traits<wchar_t>::char_type* std::char_traits<wchar_t>::copy(std::char_traits<wchar_t>::char_type*, const std::char_traits<wchar_t>::char_type*, size_t)’:
/usr/include/c++/4.5/bits/char_traits.h:346:39: error: ‘wmemcpy’ was not declared in this scope
/usr/include/c++/4.5/bits/char_traits.h: In static member function ‘static std::char_traits<wchar_t>::char_type* std::char_traits<wchar_t>::assign(std::char_traits<wchar_t>::char_type*, size_t, std::char_traits<wchar_t>::char_type)’:
/usr/include/c++/4.5/bits/char_traits.h:350:37: error: ‘wmemset’ was not declared in this scope
In file included from /usr/include/c++/4.5/clocale:44:0,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/c++locale.h:42,
from /usr/include/c++/4.5/bits/localefwd.h:42,
from /usr/include/c++/4.5/string:45,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/locale.h: At global scope:
/usr/include/locale.h:32:1: error: ‘__BEGIN_DECLS’ does not name a type
/usr/include/locale.h:125:65: error: expected initializer before ‘__THROW’
/usr/include/locale.h:128:40: error: expected initializer before ‘__THROW’
/usr/include/locale.h:130:1: error: ‘__END_NAMESPACE_STD’ does not name a type
In file included from /usr/include/c++/4.5/bits/localefwd.h:42:0,
from /usr/include/c++/4.5/string:45,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/c++locale.h:59:11: error: ‘__locale_t’ does not name a type
/usr/include/c++/4.5/x86_64-linux-gnu/bits/c++locale.h:66:26: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/x86_64-linux-gnu/bits/c++locale.h: In function ‘int std::__convert_from_v(const int&, char*, int, const char*, …)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/c++locale.h:74:19: error: ‘setlocale’ is not a member of ‘std’
/usr/include/c++/4.5/x86_64-linux-gnu/bits/c++locale.h:81:2: error: ‘setlocale’ is not a member of ‘std’
/usr/include/c++/4.5/x86_64-linux-gnu/bits/c++locale.h:101:2: error: ‘setlocale’ is not a member of ‘std’
In file included from /usr/include/c++/4.5/cctype:44:0,
from /usr/include/c++/4.5/bits/localefwd.h:44,
from /usr/include/c++/4.5/string:45,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/ctype.h: At global scope:
/usr/include/ctype.h:30:1: error: ‘__BEGIN_DECLS’ does not name a type
In file included from /usr/include/c++/4.5/cctype:44:0,
from /usr/include/c++/4.5/bits/localefwd.h:44,
from /usr/include/c++/4.5/string:45,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/ctype.h:82:6: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:84:6: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:86:6: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:96:1: error: ‘__BEGIN_NAMESPACE_STD’ does not name a type
/usr/include/ctype.h:103:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:104:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:105:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:106:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:107:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:108:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:109:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:110:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:111:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:112:1: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:116:30: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:119:30: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:121:1: error: ‘__END_NAMESPACE_STD’ does not name a type
In file included from /usr/include/c++/4.5/string:45:0,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/bits/localefwd.h:133:40: error: ‘mbstate_t’ was not declared in this scope
/usr/include/c++/4.5/bits/localefwd.h:133:49: error: template argument 3 is invalid
/usr/include/c++/4.5/bits/localefwd.h:135:43: error: ‘mbstate_t’ was not declared in this scope
/usr/include/c++/4.5/bits/localefwd.h:135:52: error: template argument 3 is invalid
In file included from /usr/include/sched.h:34:0,
from /usr/include/pthread.h:25,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:41,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr.h:162,
from /usr/include/c++/4.5/ext/atomicity.h:34,
from /usr/include/c++/4.5/bits/basic_string.h:41,
from /usr/include/c++/4.5/string:53,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/time.h:74:1: error: ‘__BEGIN_NAMESPACE_STD’ does not name a type
/usr/include/time.h:77:1: error: ‘__END_NAMESPACE_STD’ does not name a type
In file included from /usr/include/sched.h:43:0,
from /usr/include/pthread.h:25,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:41,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr.h:162,
from /usr/include/c++/4.5/ext/atomicity.h:34,
from /usr/include/c++/4.5/bits/basic_string.h:41,
from /usr/include/c++/4.5/string:53,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/bits/sched.h:79:1: error: ‘__BEGIN_DECLS’ does not name a type
/usr/include/bits/sched.h:199:1: error: ‘__BEGIN_DECLS’ does not name a type
/usr/include/bits/sched.h:203:53: error: expected initializer before ‘__THROW’
/usr/include/bits/sched.h:204:48: error: expected initializer before ‘__THROW’
/usr/include/bits/sched.h:206:1: error: ‘__END_DECLS’ does not name a type
In file included from /usr/include/pthread.h:25:0,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:41,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr.h:162,
from /usr/include/c++/4.5/ext/atomicity.h:34,
from /usr/include/c++/4.5/bits/basic_string.h:41,
from /usr/include/c++/4.5/string:53,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/sched.h:55:72: error: expected initializer before ‘__THROW’
/usr/include/sched.h:59:48: error: expected initializer before ‘__THROW’
/usr/include/sched.h:62:47: error: expected initializer before ‘__THROW’
/usr/include/sched.h:65:31: error: expected initializer before ‘__THROW’
/usr/include/sched.h:68:53: error: expected initializer before ‘__THROW’
/usr/include/sched.h:71:53: error: expected initializer before ‘__THROW’
/usr/include/sched.h:74:72: error: expected initializer before ‘__THROW’
/usr/include/sched.h:126:1: error: ‘__END_DECLS’ does not name a type
In file included from /usr/include/pthread.h:26:0,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:41,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr.h:162,
from /usr/include/c++/4.5/ext/atomicity.h:34,
from /usr/include/c++/4.5/bits/basic_string.h:41,
from /usr/include/c++/4.5/string:53,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/time.h:58:1: error: ‘__BEGIN_NAMESPACE_STD’ does not name a type
/usr/include/time.h:61:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/time.h:153:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/time.h:186:8: error: ‘time_t’ does not name a type
/usr/include/time.h:189:25: error: ‘time_t’ was not declared in this scope
/usr/include/time.h:189:41: error: ‘time_t’ was not declared in this scope
/usr/include/time.h:189:55: error: initializer expression list treated as compound expression
/usr/include/time.h:190:6: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/time.h:193:8: error: ‘time_t’ does not name a type
/usr/include/time.h:201:40: error: expected initializer before ‘__THROW’
/usr/include/time.h:202:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/time.h:237:38: error: ‘time_t’ does not name a type
/usr/include/time.h:237:55: error: expected initializer before ‘__THROW’
/usr/include/time.h:238:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/time.h:258:29: error: ‘time_t’ does not name a type
/usr/include/time.h:258:46: error: expected initializer before ‘__THROW’
/usr/include/time.h:259:1: error: ‘__END_NAMESPACE_STD’ does not name a type
/usr/include/time.h:417:1: error: ‘__END_DECLS’ does not name a type
In file included from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:41:0,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr.h:162,
from /usr/include/c++/4.5/ext/atomicity.h:34,
from /usr/include/c++/4.5/bits/basic_string.h:41,
from /usr/include/c++/4.5/string:53,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/pthread.h:220:1: error: ‘__BEGIN_DECLS’ does not name a type
/usr/include/pthread.h:242:26: error: ‘pthread_t’ was not declared in this scope
/usr/include/pthread.h:242:42: error: expected primary-expression before ‘void’
/usr/include/pthread.h:242:64: error: initializer expression list treated as compound expression
/usr/include/pthread.h:263:28: error: ‘pthread_t’ was not declared in this scope
/usr/include/pthread.h:263:44: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:267:8: error: ‘pthread_t’ does not name a type
/usr/include/pthread.h:270:27: error: ‘pthread_t’ was not declared in this scope
/usr/include/pthread.h:270:48: error: ‘pthread_t’ was not declared in this scope
/usr/include/pthread.h:270:67: error: initializer expression list treated as compound expression
/usr/include/pthread.h:270:69: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:278:55: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:282:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:287:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:292:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:298:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:303:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:310:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:315:21: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:320:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:324:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:329:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:334:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:340:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:344:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:349:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:357:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:362:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:369:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:413:35: error: ‘pthread_t’ was not declared in this scope
/usr/include/pthread.h:413:62: error: expected primary-expression before ‘int’
/usr/include/pthread.h:414:7: error: expected primary-expression before ‘__const’
/usr/include/pthread.h:414:42: error: initializer expression list treated as compound expression
/usr/include/pthread.h:415:6: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:418:35: error: ‘pthread_t’ was not declared in this scope
/usr/include/pthread.h:419:7: error: expected primary-expression before ‘int’
/usr/include/pthread.h:420:7: error: expected primary-expression before ‘struct’
/usr/include/pthread.h:420:45: error: initializer expression list treated as compound expression
/usr/include/pthread.h:421:6: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:424:34: error: ‘pthread_t’ was not declared in this scope
/usr/include/pthread.h:424:61: error: expected primary-expression before ‘int’
/usr/include/pthread.h:424:71: error: initializer expression list treated as compound expression
/usr/include/pthread.h:425:6: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:479:36: error: expected initializer before ‘__nonnull’
/usr/include/pthread.h:497:28: error: ‘pthread_t’ was not declared in this scope
/usr/include/pthread.h:727:70: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:735:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:739:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:743:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:747:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:758:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:765:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:772:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:791:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:795:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:801:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:806:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:825:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:831:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:837:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:842:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:954:23: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:958:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:962:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:966:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:975:6: error: expected initializer before ‘__nonnull’
/usr/include/pthread.h:987:19: error: expected initializer before ‘__nonnull’
/usr/include/pthread.h:993:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:997:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:1003:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:1007:21: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:1097:6: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:1100:53: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:1103:56: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:1107:30: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:1131:31: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:1143:1: error: ‘__END_DECLS’ does not name a type
In file included from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:42:0,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr.h:162,
from /usr/include/c++/4.5/ext/atomicity.h:34,
from /usr/include/c++/4.5/bits/basic_string.h:41,
from /usr/include/c++/4.5/string:53,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/unistd.h:288:54: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:331:65: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:357:8: error: ‘ssize_t’ does not name a type
/usr/include/unistd.h:363:8: error: ‘ssize_t’ does not name a type
/usr/include/unistd.h:414:36: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:429:52: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:471:6: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:494:41: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:508:50: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:528:27: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:531:39: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:549:30: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:561:6: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:566:6: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:571:6: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:576:6: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:582:6: error: expected initializer before ‘__THROW’
In file included from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:42:0,
from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr.h:162,
from /usr/include/c++/4.5/ext/atomicity.h:34,
from /usr/include/c++/4.5/bits/basic_string.h:41,
from /usr/include/c++/4.5/string:53,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/unistd.h:610:6: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:613:50: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:616:38: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:625:30: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:628:31: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:633:31: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:643:42: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:652:52: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:686:30: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:694:30: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:697:31: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:700:30: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:703:31: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:708:53: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:719:35: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:736:35: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:775:28: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:789:33: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:794:6: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:798:30: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:810:6: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:845:42: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:854:41: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:858:37: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:861:52: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:1163:1: error: ‘__END_DECLS’ does not name a type
In file included from /usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr.h:162:0,
from /usr/include/c++/4.5/ext/atomicity.h:34,
from /usr/include/c++/4.5/bits/basic_string.h:41,
from /usr/include/c++/4.5/string:53,
from jsoncpp-src-0.5.0/include/json/value.h:5,
from jsoncpp-src-0.5.0/include/json/json.h:5,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:118:1: error: ‘pthread_once’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:118:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:119:1: error: ‘pthread_getspecific’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:119:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:120:1: error: ‘pthread_setspecific’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:120:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:122:1: error: ‘pthread_create’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:122:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:125:1: error: ‘pthread_self’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:125:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:128:1: error: ‘sched_yield’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:128:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:130:1: error: ‘pthread_mutex_lock’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:130:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:131:1: error: ‘pthread_mutex_trylock’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:131:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:134:1: error: ‘pthread_mutex_timedlock’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:134:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:137:1: error: ‘pthread_mutex_unlock’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:137:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:138:1: error: ‘pthread_mutex_init’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:138:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:139:1: error: ‘pthread_mutex_destroy’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:139:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:141:1: error: ‘pthread_cond_broadcast’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:141:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:142:1: error: ‘pthread_cond_signal’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:142:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:143:1: error: ‘pthread_cond_wait’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:143:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:144:1: error: ‘pthread_cond_timedwait’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:144:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:145:1: error: ‘pthread_cond_destroy’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:145:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:148:1: error: ‘pthread_key_create’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:148:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:149:1: error: ‘pthread_key_delete’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:149:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:150:1: error: ‘pthread_mutexattr_init’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:150:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:151:1: error: ‘pthread_mutexattr_settype’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:151:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:152:1: error: ‘pthread_mutexattr_destroy’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:152:1: error: invalid type in declaration before ‘;’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:649:19: error: ‘__gthread_create’ declared as an ‘inline’ variable
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:649:19: error: ‘__gthread_t’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:649:32: error: ‘__threadid’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:649:44: error: expected primary-expression before ‘void’
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:650:5: error: expected primary-expression before ‘void’
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:650:17: error: initializer expression list treated as compound expression
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:651:1: error: expected ‘,’ or ‘;’ before ‘{’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:656:17: error: ‘__gthread_join’ declared as an ‘inline’ variable
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:656:17: error: ‘__gthread_t’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:656:41: error: expected primary-expression before ‘void’
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:656:59: error: initializer expression list treated as compound expression
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:657:1: error: expected ‘,’ or ‘;’ before ‘{’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:662:19: error: ‘__gthread_detach’ declared as an ‘inline’ variable
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:662:19: error: ‘__gthread_t’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:663:1: error: expected ‘,’ or ‘;’ before ‘{’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:668:18: error: ‘__gthread_equal’ declared as an ‘inline’ variable
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:668:18: error: ‘__gthread_t’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:668:36: error: ‘__gthread_t’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:668:52: error: initializer expression list treated as compound expression
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:669:1: error: expected ‘,’ or ‘;’ before ‘{’ token
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:673:15: error: ‘__gthread_t’ does not name a type
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_yield()’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:682:33: error: ‘__gthrw_sched_yield’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_once(__gthread_once_t*, void (*)())’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:689:50: error: ‘__gthrw_pthread_once’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_key_create(__gthread_key_t*, void (*)(void*))’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:697:53: error: ‘__gthrw_pthread_key_create’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_key_delete(__gthread_key_t)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:703:45: error: ‘__gthrw_pthread_key_delete’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘void* __gthread_getspecific(__gthread_key_t)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:709:46: error: ‘__gthrw_pthread_getspecific’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_setspecific(__gthread_key_t, const void*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:715:53: error: ‘__gthrw_pthread_setspecific’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_mutex_destroy(__gthread_mutex_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:722:52: error: ‘__gthrw_pthread_mutex_destroy’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_mutex_lock(__gthread_mutex_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:731:49: error: ‘__gthrw_pthread_mutex_lock’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_mutex_trylock(__gthread_mutex_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:740:52: error: ‘__gthrw_pthread_mutex_trylock’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_mutex_timedlock(__gthread_mutex_t*, const __gthread_time_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:752:69: error: ‘__gthrw_pthread_mutex_timedlock’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_mutex_unlock(__gthread_mutex_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:763:51: error: ‘__gthrw_pthread_mutex_unlock’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_recursive_mutex_init_function(__gthread_recursive_mutex_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:777:54: error: ‘__gthrw_pthread_mutexattr_init’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:780:10: error: ‘PTHREAD_MUTEX_RECURSIVE’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:780:33: error: ‘__gthrw_pthread_mutexattr_settype’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:782:54: error: ‘__gthrw_pthread_mutex_init’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:784:52: error: ‘__gthrw_pthread_mutexattr_destroy’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_cond_broadcast(__gthread_cond_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:823:50: error: ‘__gthrw_pthread_cond_broadcast’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_cond_signal(__gthread_cond_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:829:47: error: ‘__gthrw_pthread_cond_signal’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_cond_wait(__gthread_cond_t*, __gthread_mutex_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:835:54: error: ‘__gthrw_pthread_cond_wait’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_cond_timedwait(__gthread_cond_t*, __gthread_mutex_t*, const __gthread_time_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:842:74: error: ‘__gthrw_pthread_cond_timedwait’ cannot be used as a function
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_cond_destroy(__gthread_cond_t*)’:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/gthr-default.h:863:48: error: ‘__gthrw_pthread_cond_destroy’ cannot be used as a function
In file included from /usr/include/c++/4.5/bits/ios_base.h:43:0,
from /usr/include/c++/4.5/ios:43,
from /usr/include/c++/4.5/ostream:40,
from /usr/include/c++/4.5/iostream:40,
from jsoncpp-src-0.5.0/include/json/reader.h:9,
from jsoncpp-src-0.5.0/include/json/json.h:6,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/bits/locale_classes.h: At global scope:
/usr/include/c++/4.5/bits/locale_classes.h:346:12: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_classes.h:377:24: error: ‘__c_locale’ has not been declared
/usr/include/c++/4.5/bits/locale_classes.h:378:10: error: ‘__c_locale’ has not been declared
/usr/include/c++/4.5/bits/locale_classes.h:380:12: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_classes.h:384:25: error: ‘__c_locale’ has not been declared
/usr/include/c++/4.5/bits/locale_classes.h:386:12: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_classes.h:391:12: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_classes.h:623:7: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_classes.h:651:26: error: expected ‘)’ before ‘__cloc’
/usr/include/c++/4.5/bits/locale_classes.h: In constructor ‘std::collate<_CharT>::collate(size_t)’:
/usr/include/c++/4.5/bits/locale_classes.h:638:24: error: class ‘std::collate<_CharT>’ does not have any field named ‘_M_c_locale_collate’
/usr/include/c++/4.5/bits/locale_classes.h:638:60: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available
/usr/include/c++/4.5/bits/locale_classes.h:638:60: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/include/c++/4.5/bits/locale_classes.h: In destructor ‘virtual std::collate<_CharT>::~collate()’:
/usr/include/c++/4.5/bits/locale_classes.h:715:29: error: ‘_M_c_locale_collate’ was not declared in this scope
In file included from /usr/include/c++/4.5/cwctype:46:0,
from /usr/include/c++/4.5/bits/locale_facets.h:41,
from /usr/include/c++/4.5/bits/basic_ios.h:39,
from /usr/include/c++/4.5/ios:45,
from /usr/include/c++/4.5/ostream:40,
from /usr/include/c++/4.5/iostream:40,
from jsoncpp-src-0.5.0/include/json/reader.h:9,
from jsoncpp-src-0.5.0/include/json/json.h:6,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/wctype.h: At global scope:
/usr/include/wctype.h:50:1: error: ‘__BEGIN_NAMESPACE_C99’ does not name a type
/usr/include/wctype.h:54:1: error: ‘__END_NAMESPACE_C99’ does not name a type
/usr/include/wctype.h:103:1: error: ‘__BEGIN_DECLS’ does not name a type
/usr/include/wctype.h:118:35: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:121:35: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:125:35: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:129:35: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:134:35: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:137:35: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:142:35: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:147:35: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:152:35: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:157:36: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:172:8: error: ‘wctype_t’ does not name a type
/usr/include/wctype.h:176:35: error: ‘wctype_t’ has not been declared
/usr/include/wctype.h:176:52: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:177:1: error: ‘__END_NAMESPACE_C99’ does not name a type
/usr/include/wctype.h:188:1: error: ‘__END_NAMESPACE_C99’ does not name a type
/usr/include/wctype.h:198:38: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:199:1: error: ‘__END_NAMESPACE_C99’ does not name a type
/usr/include/wctype.h:222:39: error: ‘wctrans_t’ has not been declared
/usr/include/wctype.h:222:57: error: expected initializer before ‘__THROW’
/usr/include/wctype.h:223:1: error: ‘__END_NAMESPACE_C99’ does not name a type
In file included from /usr/include/c++/4.5/bits/locale_facets.h:43:0,
from /usr/include/c++/4.5/bits/basic_ios.h:39,
from /usr/include/c++/4.5/ios:45,
from /usr/include/c++/4.5/ostream:40,
from /usr/include/c++/4.5/iostream:40,
from jsoncpp-src-0.5.0/include/json/reader.h:9,
from jsoncpp-src-0.5.0/include/json/json.h:6,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:48:35: error: ‘_ISupper’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:49:32: error: ‘_ISlower’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:50:32: error: ‘_ISalpha’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:51:32: error: ‘_ISdigit’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:52:33: error: ‘_ISxdigit’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:53:32: error: ‘_ISspace’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:54:32: error: ‘_ISprint’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:55:32: error: ‘_ISalpha’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:55:43: error: ‘_ISdigit’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:55:54: error: ‘_ISpunct’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:56:32: error: ‘_IScntrl’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:57:32: error: ‘_ISpunct’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:58:32: error: ‘_ISalpha’ was not declared in this scope
/usr/include/c++/4.5/x86_64-linux-gnu/bits/ctype_base.h:58:43: error: ‘_ISdigit’ was not declared in this scope
In file included from /usr/include/c++/4.5/bits/basic_ios.h:39:0,
from /usr/include/c++/4.5/ios:45,
from /usr/include/c++/4.5/ostream:40,
from /usr/include/c++/4.5/iostream:40,
from jsoncpp-src-0.5.0/include/json/reader.h:9,
from jsoncpp-src-0.5.0/include/json/json.h:6,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/bits/locale_facets.h:67:12: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_facets.h:73:12: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_facets.h:78:12: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_facets.h:83:12: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_facets.h:682:7: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_facets.h:723:24: error: expected ‘)’ before ‘__cloc’
/usr/include/c++/4.5/bits/locale_facets.h:1180:15: error: ‘wctype_t’ does not name a type
/usr/include/c++/4.5/bits/locale_facets.h:1183:7: error: ‘__c_locale’ does not name a type
/usr/include/c++/4.5/bits/locale_facets.h:1192:7: error: ‘__wmask_type’ does not name a type
/usr/include/c++/4.5/bits/locale_facets.h:1218:24: error: expected ‘)’ before ‘__cloc’
/usr/include/c++/4.5/bits/locale_facets.h:1221:7: error: ‘__wmask_type’ does not name a type
In file included from /usr/include/c++/4.5/bits/basic_ios.h:39:0,
from /usr/include/c++/4.5/ios:45,
from /usr/include/c++/4.5/ostream:40,
from /usr/include/c++/4.5/iostream:40,
from jsoncpp-src-0.5.0/include/json/reader.h:9,
from jsoncpp-src-0.5.0/include/json/json.h:6,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/bits/locale_facets.h:1687:27: error: expected ‘)’ before ‘__cloc’
/usr/include/c++/4.5/bits/locale_facets.h:1844:30: error: ‘__c_locale’ has not been declared
/usr/include/c++/4.5/bits/locale_facets.h:1855:44: error: variable or field ‘_M_initialize_numpunct’ declared void
/usr/include/c++/4.5/bits/locale_facets.h:1855:44: error: ‘__c_locale’ was not declared in this scope
/usr/include/c++/4.5/bits/locale_facets.h:1863:47: error: variable or field ‘_M_initialize_numpunct’ declared void
/usr/include/c++/4.5/bits/locale_facets.h:1863:47: error: ‘__c_locale’ was not declared in this scope
/usr/include/c++/4.5/bits/locale_facets.h: In constructor ‘std::numpunct_byname<_CharT>::numpunct_byname(const char*, size_t)’:
/usr/include/c++/4.5/bits/locale_facets.h:1881:6: error: ‘__c_locale’ was not declared in this scope
/usr/include/c++/4.5/bits/locale_facets.h:1881:17: error: expected ‘;’ before ‘__tmp’
/usr/include/c++/4.5/bits/locale_facets.h:1882:31: error: ‘__tmp’ was not declared in this scope
In file included from /usr/include/c++/4.5/bits/locale_facets.h:2601:0,
from /usr/include/c++/4.5/bits/basic_ios.h:39,
from /usr/include/c++/4.5/ios:45,
from /usr/include/c++/4.5/ostream:40,
from /usr/include/c++/4.5/iostream:40,
from jsoncpp-src-0.5.0/include/json/reader.h:9,
from jsoncpp-src-0.5.0/include/json/json.h:6,
from IJsonSerializable.h:1,
from TestClassA.h:1,
from main.cpp:1:
/usr/include/c++/4.5/bits/locale_facets.tcc: In member function ‘virtual _InIter std::num_get<_CharT, _InIter>::do_get(iter_type, iter_type, std::ios_base&, std::ios_base::iostate&, float&) const’:
/usr/include/c++/4.5/bits/locale_facets.tcc:692:71: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available
/usr/include/c++/4.5/bits/locale_facets.tcc: In member function ‘virtual _InIter std::num_get<_CharT, _InIter>::do_get(iter_type, iter_type, std::ios_base&, std::ios_base::iostate&, double&) const’:
/usr/include/c++/4.5/bits/locale_facets.tcc:707:71: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available
/usr/include/c++/4.5/bits/locale_facets.tcc: In member function ‘virtual _InIter std::num_get<_CharT, _InIter>::do_get(iter_type, iter_type, std::ios_base&, std::ios_base::iostate&, long double&) const’:
/usr/include/c++/4.5/bits/locale_facets.tcc:739:71: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available
/usr/include/c++/4.5/bits/locale_facets.tcc: In member function ‘_OutIter std::num_put<_CharT, _OutIter>::_M_insert_float(_OutIter, std::ios_base&, _CharT, char, _ValueT) const’:
/usr/include/c++/4.5/bits/locale_facets.tcc:995:48: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available
/usr/include/c++/4.5/bits/locale_facets.tcc:1003:52: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available
I have this problem too.
I found erros like yours that add files in /include/json to my proj. than i add entirety, it's just ok
I got same problem by integrating json cpp includes to my project on xubuntu 32bit platform. I tried to integrate jsoncpp to my project using released debian package and self build. Both results in same issues.
Has anyone solved this issue?
The failure is invoked on simple #include <string> in line 25 of my empty brConfig class: