Hi,
I can''t install eventmachine on Debian Lenny. ruby-dev and
build-essential are installed. Where''s the problem?
My (awful) logs:
============================
# gem i eventmachine
Building native extensions. This could take a while...
ERROR: Error installing eventmachine:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... no
checking for inotify_init() in sys/inotify.h... no
checking for __NR_inotify_init in sys/syscall.h... no
checking for writev() in sys/uio.h... no
checking for rb_thread_check_ints()... no
checking for rb_time_new()... yes
checking for sys/event.h... no
checking for epoll_create() in sys/epoll.h... no
checking for main() in -lcrypto... yes
checking for main() in -lssl... yes
checking for main() in -lcrypto... yes
checking for openssl/ssl.h... no
creating Makefile
make
g++ -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -DBUILD_FOR_RUBY
-DHAVE_RB_TIME_NEW -DOS_UNIX -DWITHOUT_SSL -I/include/include -fPIC
-fno-strict-aliasing -g -g -O2 -fPIC -c ssl.cpp
g++ -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -DBUILD_FOR_RUBY
-DHAVE_RB_TIME_NEW -DOS_UNIX -DWITHOUT_SSL -I/include/include -fPIC
-fno-strict-aliasing -g -g -O2 -fPIC -c files.cpp
In file included from /usr/include/c
++/4.3/x86_64-linux-gnu/bits/os_defines.h:44,
from /usr/include/c++/4.3/x86_64-linux-gnu/bits/c
++config.h:40,
from /usr/include/c++/4.3/iostream:44,
from project.h:29,
from files.cpp:20:
/usr/include/features.h:330:25: error: sys/cdefs.h: No existe el fichero
o el directorio
In file included from project.h:40,
from files.cpp:20:
/usr/include/signal.h:353:28: error: sys/ucontext.h: No existe el
fichero o el directorio
In file included from /usr/include/netdb.h:28,
from project.h:41,
from files.cpp:20:
/usr/include/netinet/in.h:25:24: error: sys/socket.h: No existe el
fichero o el directorio
In file included from files.cpp:20:
project.h:43:22: error: sys/time.h: No existe el fichero o el directorio
project.h:44:23: error: sys/types.h: No existe el fichero o el
directorio
project.h:45:22: error: sys/stat.h: No existe el fichero o el directorio
project.h:47:20: error: sys/un.h: No existe el fichero o el directorio
project.h:48:26: error: sys/resource.h: No existe el fichero o el
directorio
project.h:49:22: error: sys/wait.h: No existe el fichero o el directorio
In file included from /usr/include/wchar.h:37,
from /usr/include/c++/4.3/cwchar:52,
from /usr/include/c++/4.3/bits/postypes.h:47,
from /usr/include/c++/4.3/iosfwd:47,
from /usr/include/c++/4.3/ios:44,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/stdio.h:49: error: expected constructor, destructor, or
type conversion before ‘typedef’
/usr/include/stdio.h:50: error: ‘__END_NAMESPACE_STD’ does not name a
type
In file included from /usr/include/c++/4.3/cwchar:52,
from /usr/include/c++/4.3/bits/postypes.h:47,
from /usr/include/c++/4.3/iosfwd:47,
from /usr/include/c++/4.3/ios:44,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/wchar.h:101: error: expected constructor, destructor, or
type conversion before ‘typedef’
/usr/include/wchar.h:102: error: ‘__END_NAMESPACE_C99’ does not name a
type
/usr/include/wchar.h:130: error: ‘__END_NAMESPACE_STD’ does not name a
type
/usr/include/wchar.h:144: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:148: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:152: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:156: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:159: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:164: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/wchar.h:168: error: expected initializer before ‘__THROW’
In file included from /usr/include/c++/4.3/cwchar:52,
from /usr/include/c++/4.3/bits/postypes.h:47,
from /usr/include/c++/4.3/iosfwd:47,
from /usr/include/c++/4.3/ios:44,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/wchar.h:175: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:178: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:184: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/wchar.h:189: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:198: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/wchar.h:205: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:208: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:213: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/wchar.h:217: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:223: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/wchar.h:230: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/wchar.h:235: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:238: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:241: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:246: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:249: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:254: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/wchar.h:261: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:267: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/wchar.h:273: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:277: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:282: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:285: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:291: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/wchar.h:300: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/wchar.h:304: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:308: error: expected ‘,’ or ‘...’ before ‘*’ token
/usr/include/wchar.h:308: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:314: error: ‘mbstate_t’ has not been declared
/usr/include/wchar.h:314: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:318: error: ‘mbstate_t’ has not been declared
/usr/include/wchar.h:318: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:322: error: ‘mbstate_t’ has not been declared
/usr/include/wchar.h:322: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:324: error: ‘mbstate_t’ has not been declared
/usr/include/wchar.h:324: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:325: error: ‘__END_NAMESPACE_STD’ does not name a
type
/usr/include/wchar.h:363: error: ‘mbstate_t’ has not been declared
/usr/include/wchar.h:363: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:370: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/wchar.h:379: error: ‘mbstate_t’ has not been declared
/usr/include/wchar.h:379: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:386: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:390: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:397: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/wchar.h:399: error: ‘__END_NAMESPACE_STD’ does not name a
type
/usr/include/wchar.h:407: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:408: error: ‘__END_NAMESPACE_C99’ does not name a
type
/usr/include/wchar.h:422: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:423: error: ‘__END_NAMESPACE_STD’ does not name a
type
/usr/include/wchar.h:439: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:446: error: expected constructor, destructor, or
type conversion before ‘__extension__’
/usr/include/wchar.h:456: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:479: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:483: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:488: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:494: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:498: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:502: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:506: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:513: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:518: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:527: error: expected initializer before ‘*’ token
/usr/include/wchar.h:534: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/wchar.h:541: error: ‘__FILE’ was not declared in this scope
/usr/include/wchar.h:541: error: expected primary-expression before
‘__restrict__’
/usr/include/wchar.h:542: error: expected primary-expression before
‘const’
/usr/include/wchar.h:542: error: expected primary-expression before
‘...’ token
/usr/include/wchar.h:542: error: initializer expression list treated as
compound expression
/usr/include/wchar.h:553: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:559: error: ‘__FILE’ was not declared in this scope
/usr/include/wchar.h:559: error: expected primary-expression before
‘__restrict__’
/usr/include/wchar.h:560: error: expected primary-expression before
‘const’
/usr/include/wchar.h:561: error: expected primary-expression before
‘__arg’
/usr/include/wchar.h:561: error: initializer expression list treated as
compound expression
/usr/include/wchar.h:575: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:582: error: ‘__FILE’ was not declared in this scope
/usr/include/wchar.h:582: error: expected primary-expression before
‘__restrict__’
/usr/include/wchar.h:583: error: expected primary-expression before
‘const’
/usr/include/wchar.h:583: error: expected primary-expression before
‘...’ token
/usr/include/wchar.h:583: error: initializer expression list treated as
compound expression
/usr/include/wchar.h:594: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:627: error: ‘__END_NAMESPACE_STD’ does not name a
type
/usr/include/wchar.h:651: error: expected initializer before ‘__THROW’
/usr/include/wchar.h:683: error: ‘__END_NAMESPACE_C99’ does not name a
type
/usr/include/wchar.h:693: error: ‘__FILE’ was not declared in this scope
/usr/include/wchar.h:693: error: ‘__stream’ was not declared in this
scope
/usr/include/wchar.h:706: error: ‘__FILE’ has not been declared
/usr/include/wchar.h:707: error: ‘__FILE’ has not been declared
/usr/include/wchar.h:722: error: ‘__FILE’ has not been declared
/usr/include/wchar.h:729: error: ‘__FILE’ has not been declared
/usr/include/wchar.h:736: error: ‘__FILE’ has not been declared
/usr/include/wchar.h:748: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/wchar.h:757: error: ‘__FILE’ was not declared in this scope
/usr/include/wchar.h:757: error: ‘__stream’ was not declared in this
scope
/usr/include/wchar.h:765: error: ‘__FILE’ has not been declared
/usr/include/wchar.h:774: error: ‘__FILE’ has not been declared
/usr/include/wchar.h:785: error: ‘__FILE’ has not been declared
/usr/include/wchar.h:794: error: ‘__FILE’ has not been declared
/usr/include/wchar.h:802: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/wchar.h:812: error: expected constructor, destructor, or
type conversion before ‘extern’
In file included from /usr/include/c++/4.3/bits/postypes.h:47,
from /usr/include/c++/4.3/iosfwd:47,
from /usr/include/c++/4.3/ios:44,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/c++/4.3/cwchar:70: error: expected constructor, destructor,
or type conversion before ‘namespace’
/usr/include/c++/4.3/cwchar:148: error: ‘::btowc’ has not been declared
/usr/include/c++/4.3/cwchar:149: error: ‘::fgetwc’ has not been declared
/usr/include/c++/4.3/cwchar:153: error: ‘::fwide’ has not been declared
/usr/include/c++/4.3/cwchar:158: error: ‘::mbrlen’ has not been declared
/usr/include/c++/4.3/cwchar:159: error: ‘::mbrtowc’ has not been
declared
/usr/include/c++/4.3/cwchar:160: error: ‘::mbsinit’ has not been
declared
/usr/include/c++/4.3/cwchar:161: error: ‘::mbsrtowcs’ has not been
declared
/usr/include/c++/4.3/cwchar:164: error: ‘::swprintf’ has not been
declared
/usr/include/c++/4.3/cwchar:165: error: ‘::swscanf’ has not been
declared
/usr/include/c++/4.3/cwchar:169: error: ‘::vfwscanf’ has not been
declared
/usr/include/c++/4.3/cwchar:171: error: ‘::vswprintf’ has not been
declared
/usr/include/c++/4.3/cwchar:173: error: ‘::vswscanf’ has not been
declared
/usr/include/c++/4.3/cwchar:179: error: ‘::wcrtomb’ has not been
declared
/usr/include/c++/4.3/cwchar:180: error: ‘::wcscat’ has not been declared
/usr/include/c++/4.3/cwchar:181: error: ‘::wcscmp’ has not been declared
/usr/include/c++/4.3/cwchar:182: error: ‘::wcscoll’ has not been
declared
/usr/include/c++/4.3/cwchar:183: error: ‘::wcscpy’ has not been declared
/usr/include/c++/4.3/cwchar:184: error: ‘::wcscspn’ has not been
declared
/usr/include/c++/4.3/cwchar:185: error: ‘::wcsftime’ has not been
declared
/usr/include/c++/4.3/cwchar:186: error: ‘::wcslen’ has not been declared
/usr/include/c++/4.3/cwchar:187: error: ‘::wcsncat’ has not been
declared
/usr/include/c++/4.3/cwchar:188: error: ‘::wcsncmp’ has not been
declared
/usr/include/c++/4.3/cwchar:189: error: ‘::wcsncpy’ has not been
declared
/usr/include/c++/4.3/cwchar:190: error: ‘::wcsrtombs’ has not been
declared
/usr/include/c++/4.3/cwchar:191: error: ‘::wcsspn’ has not been declared
/usr/include/c++/4.3/cwchar:192: error: ‘::wcstod’ has not been declared
/usr/include/c++/4.3/cwchar:194: error: ‘::wcstof’ has not been declared
/usr/include/c++/4.3/cwchar:196: error: ‘::wcstok’ has not been declared
/usr/include/c++/4.3/cwchar:197: error: ‘::wcstol’ has not been declared
/usr/include/c++/4.3/cwchar:198: error: ‘::wcstoul’ has not been
declared
/usr/include/c++/4.3/cwchar:199: error: ‘::wcsxfrm’ has not been
declared
/usr/include/c++/4.3/cwchar:200: error: ‘::wctob’ has not been declared
/usr/include/c++/4.3/cwchar:201: error: ‘::wmemcmp’ has not been
declared
/usr/include/c++/4.3/cwchar:202: error: ‘::wmemcpy’ has not been
declared
/usr/include/c++/4.3/cwchar:203: error: ‘::wmemmove’ has not been
declared
/usr/include/c++/4.3/cwchar:204: error: ‘::wmemset’ has not been
declared
/usr/include/c++/4.3/cwchar:208: error: ‘::wcschr’ has not been declared
/usr/include/c++/4.3/cwchar: In function ‘wchar_t* std::wcschr(wchar_t*,
wchar_t)’:
/usr/include/c++/4.3/cwchar:212: error: invalid conversion from ‘const
wchar_t*’ to ‘wchar_t*’
/usr/include/c++/4.3/cwchar:212: error: initializing argument 1 of
‘wchar_t* std::wcschr(wchar_t*, wchar_t)’
/usr/include/c++/4.3/cwchar: At global scope:
/usr/include/c++/4.3/cwchar:214: error: ‘::wcspbrk’ has not been
declared
/usr/include/c++/4.3/cwchar: In function ‘wchar_t*
std::wcspbrk(wchar_t*, const wchar_t*)’:
/usr/include/c++/4.3/cwchar:218: error: invalid conversion from ‘const
wchar_t*’ to ‘wchar_t*’
/usr/include/c++/4.3/cwchar:218: error: initializing argument 1 of
‘wchar_t* std::wcspbrk(wchar_t*, const wchar_t*)’
/usr/include/c++/4.3/cwchar: At global scope:
/usr/include/c++/4.3/cwchar:220: error: ‘::wcsrchr’ has not been
declared
/usr/include/c++/4.3/cwchar: In function ‘wchar_t*
std::wcsrchr(wchar_t*, wchar_t)’:
/usr/include/c++/4.3/cwchar:224: error: invalid conversion from ‘const
wchar_t*’ to ‘wchar_t*’
/usr/include/c++/4.3/cwchar:224: error: initializing argument 1 of
‘wchar_t* std::wcsrchr(wchar_t*, wchar_t)’
/usr/include/c++/4.3/cwchar: At global scope:
/usr/include/c++/4.3/cwchar:226: error: ‘::wcsstr’ has not been declared
/usr/include/c++/4.3/cwchar: In function ‘wchar_t* std::wcsstr(wchar_t*,
const wchar_t*)’:
/usr/include/c++/4.3/cwchar:230: error: invalid conversion from ‘const
wchar_t*’ to ‘wchar_t*’
/usr/include/c++/4.3/cwchar:230: error: initializing argument 1 of
‘wchar_t* std::wcsstr(wchar_t*, const wchar_t*)’
/usr/include/c++/4.3/cwchar: At global scope:
/usr/include/c++/4.3/cwchar:232: error: ‘::wmemchr’ has not been
declared
/usr/include/c++/4.3/cwchar: In function ‘wchar_t*
std::wmemchr(wchar_t*, wchar_t, size_t)’:
/usr/include/c++/4.3/cwchar:236: error: invalid conversion from ‘const
wchar_t*’ to ‘wchar_t*’
/usr/include/c++/4.3/cwchar:236: error: initializing argument 1 of
‘wchar_t* std::wmemchr(wchar_t*, wchar_t, size_t)’
/usr/include/c++/4.3/cwchar: At global scope:
/usr/include/c++/4.3/cwchar:253: error: ‘::wcstold’ has not been
declared
/usr/include/c++/4.3/cwchar:262: error: ‘::wcstoll’ has not been
declared
/usr/include/c++/4.3/cwchar:263: error: ‘::wcstoull’ has not been
declared
/usr/include/c++/4.3/cwchar:270: error: ‘__gnu_cxx::wcstold’ has not
been declared
/usr/include/c++/4.3/cwchar:271: error: ‘__gnu_cxx::wcstoll’ has not
been declared
/usr/include/c++/4.3/cwchar:272: error: ‘__gnu_cxx::wcstoull’ has not
been declared
In file included from /usr/include/c++/4.3/iosfwd:47,
from /usr/include/c++/4.3/ios:44,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/c++/4.3/bits/postypes.h:207: error: ‘mbstate_t’ was not
declared in this scope
/usr/include/c++/4.3/bits/postypes.h:207: error: template argument 1 is
invalid
/usr/include/c++/4.3/bits/postypes.h:207: error: invalid type in
declaration before ‘;’ token
/usr/include/c++/4.3/bits/postypes.h:209: error: ‘mbstate_t’ was not
declared in this scope
/usr/include/c++/4.3/bits/postypes.h:209: error: template argument 1 is
invalid
/usr/include/c++/4.3/bits/postypes.h:209: error: invalid type in
declaration before ‘;’ token
In file included from /usr/include/stdio.h:36,
from /usr/include/c++/4.3/cstdio:50,
from /usr/include/c++/4.3/bits/char_traits.h:48,
from /usr/include/c++/4.3/ios:46,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/bits/types.h:31: error: expected constructor, destructor,
or type conversion before ‘typedef’
In file included from /usr/include/stdio.h:75,
from /usr/include/c++/4.3/cstdio:50,
from /usr/include/c++/4.3/bits/char_traits.h:48,
from /usr/include/c++/4.3/ios:46,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/libio.h:460: error: expected initializer before ‘__THROW’
/usr/include/libio.h:461: error: expected initializer before ‘__THROW’
/usr/include/libio.h:469: error: expected initializer before ‘__THROW’
/usr/include/libio.h:470: error: expected initializer before ‘__THROW’
/usr/include/libio.h:471: error: expected initializer before ‘__THROW’
/usr/include/libio.h:498: error: expected initializer before ‘__THROW’
In file included from /usr/include/c++/4.3/cstdio:50,
from /usr/include/c++/4.3/bits/char_traits.h:48,
from /usr/include/c++/4.3/ios:46,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/stdio.h:91: error: expected constructor, destructor, or
type conversion before ‘typedef’
/usr/include/stdio.h:97: error: expected constructor, destructor, or
type conversion before ‘typedef’
In file included from /usr/include/c++/4.3/cstdio:50,
from /usr/include/c++/4.3/bits/char_traits.h:48,
from /usr/include/c++/4.3/ios:46,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/stdio.h:155: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:157: error: expected initializer before ‘__THROW’
/usr/include/stdio.h:162: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:172: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:182: error: expected initializer before ‘*’ token
/usr/include/stdio.h:186: error: expected initializer before ‘__THROW’
/usr/include/stdio.h:192: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:205: error: expected initializer before ‘__THROW’
/usr/include/stdio.h:214: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:219: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:219: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:229: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:249: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:255: error: expected initializer before ‘*’ token
/usr/include/stdio.h:274: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:276: error: expected initializer before ‘*’ token
/usr/include/stdio.h:283: error: expected initializer before ‘*’ token
/usr/include/stdio.h:289: error: expected initializer before ‘*’ token
/usr/include/stdio.h:294: error: expected initializer before ‘*’ token
/usr/include/stdio.h:300: error: expected initializer before ‘*’ token
/usr/include/stdio.h:307: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:311: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:311: error: expected primary-expression before
‘__restrict__’
/usr/include/stdio.h:311: error: expected primary-expression before
‘char’
/usr/include/stdio.h:312: error: expected primary-expression before
‘int’
/usr/include/stdio.h:312: error: expected primary-expression before
‘__n’
/usr/include/stdio.h:312: error: initializer expression list treated as
compound expression
/usr/include/stdio.h:312: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/stdio.h:318: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:322: error: variable or field ‘setlinebuf’ declared
void
/usr/include/stdio.h:322: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:322: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:331: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:340: error: expected initializer before ‘__THROW’
/usr/include/stdio.h:346: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:346: error: expected primary-expression before
‘__restrict__’
/usr/include/stdio.h:346: error: expected primary-expression before
‘const’
/usr/include/stdio.h:347: error: expected primary-expression before
‘__arg’
/usr/include/stdio.h:347: error: initializer expression list treated as
compound expression
/usr/include/stdio.h:355: error: expected initializer before ‘__THROW’
/usr/include/stdio.h:356: error: ‘__END_NAMESPACE_STD’ does not name a
type
/usr/include/stdio.h:367: error: expected initializer before ‘__THROW’
/usr/include/stdio.h:374: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:379: error: expected initializer before ‘__THROW’
/usr/include/stdio.h:382: error: expected initializer before ‘__THROW’
/usr/include/stdio.h:403: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:409: error: expected initializer before ‘__wur’
/usr/include/stdio.h:412: error: expected initializer before ‘__THROW’
/usr/include/stdio.h:441: error: ‘__END_NAMESPACE_STD’ does not name a
type
/usr/include/stdio.h:458: error: expected initializer before ‘__wur’
/usr/include/stdio.h:463: error: expected initializer before ‘__THROW’
/usr/include/stdio.h:500: error: ‘__END_NAMESPACE_C99’ does not name a
type
/usr/include/stdio.h:510: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:510: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:528: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:539: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:539: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:551: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:552: error: ‘FILE’ has not been declared
/usr/include/stdio.h:572: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:580: error: ‘FILE’ has not been declared
/usr/include/stdio.h:588: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:588: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:591: error: ‘FILE’ has not been declared
/usr/include/stdio.h:600: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:608: error: expected initializer before ‘__wur’
/usr/include/stdio.h:618: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:636: error: ‘FILE’ has not been declared
/usr/include/stdio.h:636: error: expected initializer before ‘__wur’
/usr/include/stdio.h:639: error: ‘FILE’ has not been declared
/usr/include/stdio.h:639: error: expected initializer before ‘__wur’
/usr/include/stdio.h:649: error: ‘FILE’ has not been declared
/usr/include/stdio.h:649: error: expected initializer before ‘__wur’
/usr/include/stdio.h:658: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:671: error: ‘FILE’ has not been declared
/usr/include/stdio.h:679: error: ‘FILE’ has not been declared
/usr/include/stdio.h:679: error: expected initializer before ‘__wur’
/usr/include/stdio.h:685: error: ‘FILE’ has not been declared
/usr/include/stdio.h:685: error: expected initializer before ‘__wur’
/usr/include/stdio.h:695: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:707: error: ‘FILE’ has not been declared
/usr/include/stdio.h:707: error: expected initializer before ‘__wur’
/usr/include/stdio.h:709: error: ‘FILE’ has not been declared
/usr/include/stdio.h:709: error: expected initializer before ‘__wur’
/usr/include/stdio.h:718: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:723: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:723: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:723: error: expected ‘,’ or ‘;’ before ‘__wur’
/usr/include/stdio.h:728: error: variable or field ‘rewind’ declared
void
/usr/include/stdio.h:728: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:728: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:742: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:747: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:747: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:747: error: expected ‘,’ or ‘;’ before ‘__wur’
/usr/include/stdio.h:767: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:772: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:772: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:772: error: expected primary-expression before
‘const’
/usr/include/stdio.h:772: error: initializer expression list treated as
compound expression
/usr/include/stdio.h:787: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:788: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:788: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:788: error: expected ‘,’ or ‘;’ before ‘__wur’
/usr/include/stdio.h:789: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:789: error: expected primary-expression before
‘__restrict__’
/usr/include/stdio.h:789: error: ‘fpos64_t’ was not declared in this
scope
/usr/include/stdio.h:789: error: expected primary-expression before
‘__restrict__’
/usr/include/stdio.h:789: error: initializer expression list treated as
compound expression
/usr/include/stdio.h:790: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:790: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:790: error: expected primary-expression before
‘const’
/usr/include/stdio.h:790: error: initializer expression list treated as
compound expression
/usr/include/stdio.h:795: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:797: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:797: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:797: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/stdio.h:799: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:799: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:799: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/stdio.h:804: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/stdio.h:805: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:805: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:805: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/stdio.h:806: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:806: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:806: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/stdio.h:815: error: expected constructor, destructor, or
type conversion before ‘extern’
In file included from /usr/include/stdio.h:822,
from /usr/include/c++/4.3/cstdio:50,
from /usr/include/c++/4.3/bits/char_traits.h:48,
from /usr/include/c++/4.3/ios:46,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/bits/sys_errlist.h:27: error: expected constructor,
destructor, or type conversion before ‘extern’
In file included from /usr/include/c++/4.3/cstdio:50,
from /usr/include/c++/4.3/bits/char_traits.h:48,
from /usr/include/c++/4.3/ios:46,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/stdio.h:827: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:827: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:827: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/stdio.h:832: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:832: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:832: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/stdio.h:842: error: expected initializer before ‘*’ token
/usr/include/stdio.h:848: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:848: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:854: error: expected initializer before ‘__THROW’
/usr/include/stdio.h:870: error: expected initializer before ‘__THROW’
/usr/include/stdio.h:874: error: expected initializer before ‘__THROW’
/usr/include/stdio.h:882: error: variable or field ‘flockfile’ declared
void
/usr/include/stdio.h:882: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:882: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:886: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:886: error: ‘__stream’ was not declared in this
scope
/usr/include/stdio.h:886: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/stdio.h:889: error: variable or field ‘funlockfile’
declared void
/usr/include/stdio.h:889: error: ‘FILE’ was not declared in this scope
/usr/include/stdio.h:889: error: ‘__stream’ was not declared in this
scope
In file included from /usr/include/c++/4.3/bits/char_traits.h:48,
from /usr/include/c++/4.3/ios:46,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/c++/4.3/cstdio:98: error: expected constructor, destructor,
or type conversion before ‘namespace’
/usr/include/c++/4.3/cstdio:170: error: ‘::snprintf’ has not been
declared
/usr/include/c++/4.3/cstdio:171: error: ‘::vfscanf’ has not been
declared
/usr/include/c++/4.3/cstdio:172: error: ‘::vscanf’ has not been declared
/usr/include/c++/4.3/cstdio:173: error: ‘::vsnprintf’ has not been
declared
/usr/include/c++/4.3/cstdio:174: error: ‘::vsscanf’ has not been
declared
/usr/include/c++/4.3/cstdio:181: error: ‘__gnu_cxx::snprintf’ has not
been declared
/usr/include/c++/4.3/cstdio:182: error: ‘__gnu_cxx::vfscanf’ has not
been declared
/usr/include/c++/4.3/cstdio:183: error: ‘__gnu_cxx::vscanf’ has not been
declared
/usr/include/c++/4.3/cstdio:184: error: ‘__gnu_cxx::vsnprintf’ has not
been declared
/usr/include/c++/4.3/cstdio:185: error: ‘__gnu_cxx::vsscanf’ has not
been declared
In file included from /usr/include/c++/4.3/ios:46,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/c++/4.3/bits/char_traits.h:69: error: ‘mbstate_t’ in
namespace ‘std’ does not name a type
/usr/include/c++/4.3/bits/char_traits.h:242: error: ‘mbstate_t’ does not
name a type
/usr/include/c++/4.3/bits/char_traits.h:312: error: ‘mbstate_t’ does not
name a type
/usr/include/c++/4.3/bits/char_traits.h: In static member function
‘static int std::char_traits<wchar_t>::compare(const wchar_t*, const
wchar_t*, size_t)’:
/usr/include/c++/4.3/bits/char_traits.h:328: error: ‘wmemcmp’ was not
declared in this scope
/usr/include/c++/4.3/bits/char_traits.h: In static member function
‘static size_t std::char_traits<wchar_t>::length(const wchar_t*)’:
/usr/include/c++/4.3/bits/char_traits.h:332: error: ‘wcslen’ was not
declared in this scope
/usr/include/c++/4.3/bits/char_traits.h: In static member function
‘static const wchar_t* std::char_traits<wchar_t>::find(const wchar_t*,
size_t, const wchar_t&)’:
/usr/include/c++/4.3/bits/char_traits.h:336: error: invalid conversion
from ‘const wchar_t*’ to ‘wchar_t*’
/usr/include/c++/4.3/bits/char_traits.h:336: error: initializing
argument 1 of ‘wchar_t* std::wmemchr(wchar_t*, wchar_t, size_t)’
/usr/include/c++/4.3/bits/char_traits.h: In static member function
‘static wchar_t* std::char_traits<wchar_t>::move(wchar_t*, const
wchar_t*, size_t)’:
/usr/include/c++/4.3/bits/char_traits.h:340: error: ‘wmemmove’ was not
declared in this scope
/usr/include/c++/4.3/bits/char_traits.h: In static member function
‘static wchar_t* std::char_traits<wchar_t>::copy(wchar_t*, const
wchar_t*, size_t)’:
/usr/include/c++/4.3/bits/char_traits.h:344: error: ‘wmemcpy’ was not
declared in this scope
/usr/include/c++/4.3/bits/char_traits.h: In static member function
‘static wchar_t* std::char_traits<wchar_t>::assign(wchar_t*, size_t,
wchar_t)’:
/usr/include/c++/4.3/bits/char_traits.h:348: error: ‘wmemset’ was not
declared in this scope
In file included from /usr/include/c++/4.3/clocale:48,
from /usr/include/c++/4.3/x86_64-linux-gnu/bits/c
++locale.h:47,
from /usr/include/c++/4.3/bits/localefwd.h:47,
from /usr/include/c++/4.3/ios:47,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/locale.h: At global scope:
/usr/include/locale.h:32: error: ‘__BEGIN_DECLS’ does not name a type
/usr/include/locale.h:125: error: expected initializer before ‘__THROW’
/usr/include/locale.h:128: error: expected initializer before ‘__THROW’
/usr/include/locale.h:148: error: expected constructor, destructor, or
type conversion before ‘typedef’
/usr/include/locale.h:155: error: expected initializer before ‘__THROW’
/usr/include/locale.h:189: error: expected initializer before ‘__THROW’
/usr/include/locale.h:193: error: expected initializer before ‘__THROW’
/usr/include/locale.h:200: error: expected initializer before ‘__THROW’
In file included from /usr/include/c++/4.3/x86_64-linux-gnu/bits/c
++locale.h:47,
from /usr/include/c++/4.3/bits/localefwd.h:47,
from /usr/include/c++/4.3/ios:47,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/c++/4.3/clocale:57: error: expected constructor,
destructor, or type conversion before ‘namespace’
In file included from /usr/include/c++/4.3/bits/localefwd.h:47,
from /usr/include/c++/4.3/ios:47,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/c++/4.3/x86_64-linux-gnu/bits/c++locale.h:57: error:
‘uselocale’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/c++locale.h:57: error:
invalid type in declaration before ‘;’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/c++locale.h: In function ‘int
std::__convert_from_v(__locale_struct* const&, char*, int, const
char*, ...)’:
/usr/include/c++/4.3/x86_64-linux-gnu/bits/c++locale.h:77: error:
‘__gnu_cxx::__uselocale’ cannot be used as a function
/usr/include/c++/4.3/x86_64-linux-gnu/bits/c++locale.h:102: error:
‘__gnu_cxx::__uselocale’ cannot be used as a function
In file included from /usr/include/c++/4.3/cctype:49,
from /usr/include/c++/4.3/bits/localefwd.h:49,
from /usr/include/c++/4.3/ios:47,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/ctype.h: At global scope:
/usr/include/ctype.h:48: error: expected constructor, destructor, or
type conversion before ‘enum’
/usr/include/ctype.h:102: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/ctype.h:103: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:104: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:105: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:106: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:107: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:108: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:109: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:110: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:111: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:112: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:116: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:119: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:121: error: ‘__END_NAMESPACE_STD’ does not name a
type
/usr/include/ctype.h:135: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/ctype.h:142: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:146: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:150: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:151: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:247: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:248: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:249: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:250: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:251: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:252: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:253: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:254: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:255: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:256: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:257: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:259: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:263: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:264: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:267: error: expected initializer before ‘__THROW’
/usr/include/ctype.h:268: error: expected initializer before ‘__THROW’
In file included from /usr/include/c++/4.3/bits/localefwd.h:49,
from /usr/include/c++/4.3/ios:47,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/c++/4.3/cctype:69: error: expected constructor, destructor,
or type conversion before ‘namespace’
In file included from /usr/include/c++/4.3/ios:47,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/c++/4.3/bits/localefwd.h:132: error: ‘mbstate_t’ was not
declared in this scope
/usr/include/c++/4.3/bits/localefwd.h:132: error: template argument 3 is
invalid
/usr/include/c++/4.3/bits/localefwd.h:134: error: ‘mbstate_t’ was not
declared in this scope
/usr/include/c++/4.3/bits/localefwd.h:134: error: template argument 3 is
invalid
In file included from /usr/include/sched.h:35,
from /usr/include/pthread.h:25,
from /usr/include/c
++/4.3/x86_64-linux-gnu/bits/gthr-default.h:43,
from /usr/include/c
++/4.3/x86_64-linux-gnu/bits/gthr.h:132,
from /usr/include/c++/4.3/ext/atomicity.h:39,
from /usr/include/c++/4.3/bits/ios_base.h:46,
from /usr/include/c++/4.3/ios:48,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/bits/sched.h:75: error: expected constructor, destructor,
or type conversion before ‘extern’
/usr/include/bits/sched.h:79: error: expected initializer before
‘__THROW’
/usr/include/bits/sched.h:82: error: expected initializer before
‘__THROW’
/usr/include/bits/sched.h:93: error: expected constructor, destructor,
or type conversion before ‘struct’
/usr/include/bits/sched.h:188: error: expected constructor, destructor,
or type conversion before ‘extern’
/usr/include/bits/sched.h:190: error: expected initializer before
‘__THROW’
/usr/include/bits/sched.h:191: error: expected initializer before
‘__THROW’
/usr/include/bits/sched.h:193: error: ‘__END_DECLS’ does not name a type
In file included from /usr/include/pthread.h:25,
from /usr/include/c
++/4.3/x86_64-linux-gnu/bits/gthr-default.h:43,
from /usr/include/c
++/4.3/x86_64-linux-gnu/bits/gthr.h:132,
from /usr/include/c++/4.3/ext/atomicity.h:39,
from /usr/include/c++/4.3/bits/ios_base.h:46,
from /usr/include/c++/4.3/ios:48,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/sched.h:47: error: expected initializer before ‘__THROW’
/usr/include/sched.h:51: error: expected initializer before ‘__THROW’
/usr/include/sched.h:54: error: expected initializer before ‘__THROW’
/usr/include/sched.h:57: error: expected initializer before ‘__THROW’
/usr/include/sched.h:60: error: expected initializer before ‘__THROW’
/usr/include/sched.h:63: error: expected initializer before ‘__THROW’
/usr/include/sched.h:66: error: expected initializer before ‘__THROW’
/usr/include/sched.h:111: error: expected initializer before ‘__THROW’
/usr/include/sched.h:115: error: expected initializer before ‘__THROW’
/usr/include/sched.h:118: error: ‘__END_DECLS’ does not name a type
In file included from /usr/include/pthread.h:26,
from /usr/include/c
++/4.3/x86_64-linux-gnu/bits/gthr-default.h:43,
from /usr/include/c
++/4.3/x86_64-linux-gnu/bits/gthr.h:132,
from /usr/include/c++/4.3/ext/atomicity.h:39,
from /usr/include/c++/4.3/bits/ios_base.h:46,
from /usr/include/c++/4.3/ios:48,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/time.h:62: error: ‘__END_NAMESPACE_STD’ does not name a
type
/usr/include/time.h:78: error: ‘__END_NAMESPACE_STD’ does not name a
type
/usr/include/time.h:134: error: expected constructor, destructor, or
type conversion before ‘struct’
/usr/include/time.h:154: error: ‘__END_NAMESPACE_STD’ does not name a
type
/usr/include/time.h:184: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/time.h:187: error: ‘time_t’ does not name a type
/usr/include/time.h:190: error: ‘time_t’ was not declared in this scope
/usr/include/time.h:190: error: ‘time_t’ was not declared in this scope
/usr/include/time.h:190: error: initializer expression list treated as
compound expression
/usr/include/time.h:191: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/time.h:194: error: ‘time_t’ does not name a type
/usr/include/time.h:202: error: expected initializer before ‘__THROW’
/usr/include/time.h:208: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/time.h:221: error: expected initializer before ‘__THROW’
/usr/include/time.h:225: error: expected initializer before ‘__THROW’
/usr/include/time.h:232: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/time.h:236: error: expected ‘,’ or ‘...’ before ‘*’ token
/usr/include/time.h:236: error: expected initializer before ‘__THROW’
/usr/include/time.h:242: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/time.h:247: error: expected ‘,’ or ‘...’ before ‘*’ token
/usr/include/time.h:248: error: expected initializer before ‘__THROW’
/usr/include/time.h:254: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/time.h:257: error: expected ‘,’ or ‘...’ before ‘*’ token
/usr/include/time.h:257: error: expected initializer before ‘__THROW’
/usr/include/time.h:265: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/time.h:269: error: expected ‘,’ or ‘...’ before ‘*’ token
/usr/include/time.h:270: error: expected initializer before ‘__THROW’
/usr/include/time.h:286: error: expected initializer before ‘__THROW’
/usr/include/time.h:297: error: expected ‘,’ or ‘...’ before ‘*’ token
/usr/include/time.h:297: error: expected initializer before ‘__THROW’
/usr/include/time.h:312: error: ‘time_t’ does not name a type
/usr/include/time.h:315: error: ‘time_t’ does not name a type
/usr/include/time.h:318: error: expected initializer before ‘__THROW’
/usr/include/time.h:332: error: ‘clockid_t’ was not declared in this
scope
/usr/include/time.h:332: error: expected primary-expression before
‘struct’
/usr/include/time.h:332: error: initializer expression list treated as
compound expression
/usr/include/time.h:332: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/time.h:335: error: ‘clockid_t’ was not declared in this
scope
/usr/include/time.h:335: error: expected primary-expression before
‘struct’
/usr/include/time.h:335: error: initializer expression list treated as
compound expression
/usr/include/time.h:335: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/time.h:338: error: ‘clockid_t’ was not declared in this
scope
/usr/include/time.h:338: error: expected primary-expression before
‘const’
/usr/include/time.h:338: error: initializer expression list treated as
compound expression
/usr/include/time.h:339: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/time.h:346: error: ‘clockid_t’ was not declared in this
scope
/usr/include/time.h:346: error: expected primary-expression before ‘int’
/usr/include/time.h:347: error: expected primary-expression before
‘const’
/usr/include/time.h:348: error: expected primary-expression before
‘struct’
/usr/include/time.h:348: error: initializer expression list treated as
compound expression
/usr/include/time.h:351: error: ‘clockid_t’ has not been declared
/usr/include/time.h:351: error: expected initializer before ‘__THROW’
/usr/include/time.h:356: error: ‘clockid_t’ was not declared in this
scope
/usr/include/time.h:357: error: expected primary-expression before
‘struct’
/usr/include/time.h:358: error: expected primary-expression before ‘*’
token
/usr/include/time.h:358: error: expected primary-expression before
‘__restrict__’
/usr/include/time.h:358: error: initializer expression list treated as
compound expression
/usr/include/time.h:358: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/time.h:361: error: expected initializer before ‘__THROW’
/usr/include/time.h:366: error: expected initializer before ‘__THROW’
/usr/include/time.h:370: error: expected initializer before ‘__THROW’
/usr/include/time.h:373: error: expected initializer before ‘__THROW’
/usr/include/time.h:416: error: ‘__END_DECLS’ does not name a type
In file included from /usr/include/pthread.h:30,
from /usr/include/c
++/4.3/x86_64-linux-gnu/bits/gthr-default.h:43,
from /usr/include/c
++/4.3/x86_64-linux-gnu/bits/gthr.h:132,
from /usr/include/c++/4.3/ext/atomicity.h:39,
from /usr/include/c++/4.3/bits/ios_base.h:46,
from /usr/include/c++/4.3/ios:48,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/bits/pthreadtypes.h:50: error: expected constructor,
destructor, or type conversion before ‘typedef’
In file included from /usr/include/c
++/4.3/x86_64-linux-gnu/bits/gthr-default.h:43,
from /usr/include/c
++/4.3/x86_64-linux-gnu/bits/gthr.h:132,
from /usr/include/c++/4.3/ext/atomicity.h:39,
from /usr/include/c++/4.3/bits/ios_base.h:46,
from /usr/include/c++/4.3/ios:48,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/pthread.h:225: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/pthread.h:242: error: ‘pthread_t’ was not declared in this
scope
/usr/include/pthread.h:242: error: expected primary-expression before
‘void’
/usr/include/pthread.h:242: error: initializer expression list treated
as compound expression
/usr/include/pthread.h:247: error: ‘pthread_t’ was not declared in this
scope
/usr/include/pthread.h:247: error: expected primary-expression before
‘void’
/usr/include/pthread.h:247: error: initializer expression list treated
as compound expression
/usr/include/pthread.h:247: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:255: error: ‘pthread_t’ was not declared in this
scope
/usr/include/pthread.h:255: error: expected primary-expression before
‘void’
/usr/include/pthread.h:256: error: expected primary-expression before
‘const’
/usr/include/pthread.h:256: error: initializer expression list treated
as compound expression
/usr/include/pthread.h:263: error: ‘pthread_t’ was not declared in this
scope
/usr/include/pthread.h:263: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:267: error: ‘pthread_t’ does not name a type
/usr/include/pthread.h:270: error: ‘pthread_t’ was not declared in this
scope
/usr/include/pthread.h:270: error: ‘pthread_t’ was not declared in this
scope
/usr/include/pthread.h:270: error: initializer expression list treated
as compound expression
/usr/include/pthread.h:270: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:278: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:282: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:287: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:292: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:298: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:303: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:310: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:315: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:320: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:324: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:329: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:334: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:340: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:344: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:349: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:357: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:362: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:369: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:376: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:382: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:391: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:398: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:404: error: ‘pthread_t’ was not declared in this
scope
/usr/include/pthread.h:404: error: expected primary-expression before
‘*’ token
/usr/include/pthread.h:404: error: ‘__attr’ was not declared in this
scope
/usr/include/pthread.h:404: error: initializer expression list treated
as compound expression
/usr/include/pthread.h:405: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:413: error: ‘pthread_t’ was not declared in this
scope
/usr/include/pthread.h:413: error: expected primary-expression before
‘int’
/usr/include/pthread.h:414: error: expected primary-expression before
‘const’
/usr/include/pthread.h:414: error: initializer expression list treated
as compound expression
/usr/include/pthread.h:415: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:418: error: ‘pthread_t’ was not declared in this
scope
/usr/include/pthread.h:419: error: expected primary-expression before
‘int’
/usr/include/pthread.h:420: error: expected primary-expression before
‘struct’
/usr/include/pthread.h:420: error: initializer expression list treated
as compound expression
/usr/include/pthread.h:421: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:424: error: ‘pthread_t’ was not declared in this
scope
/usr/include/pthread.h:424: error: expected primary-expression before
‘int’
/usr/include/pthread.h:424: error: initializer expression list treated
as compound expression
/usr/include/pthread.h:425: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:430: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:433: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:441: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:446: error: ‘pthread_t’ was not declared in this
scope
/usr/include/pthread.h:446: error: expected primary-expression before
‘__cpusetsize’
/usr/include/pthread.h:447: error: expected primary-expression before
‘const’
/usr/include/pthread.h:447: error: initializer expression list treated
as compound expression
/usr/include/pthread.h:448: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:451: error: ‘pthread_t’ was not declared in this
scope
/usr/include/pthread.h:451: error: expected primary-expression before
‘__cpusetsize’
/usr/include/pthread.h:452: error: expected primary-expression before
‘*’ token
/usr/include/pthread.h:452: error: ‘__cpuset’ was not declared in this
scope
/usr/include/pthread.h:452: error: initializer expression list treated
as compound expression
/usr/include/pthread.h:453: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:467: error: expected initializer before
‘__nonnull’
/usr/include/pthread.h:485: error: ‘pthread_t’ was not declared in this
scope
/usr/include/pthread.h:713: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:721: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:725: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:729: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:733: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:739: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:744: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:752: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:759: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:766: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:775: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:779: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:785: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:790: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:796: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:802: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:808: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:814: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:820: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:825: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:832: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:837: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:848: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:852: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:856: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:860: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:866: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:871: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:875: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:881: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:886: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:893: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:897: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:903: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:908: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:914: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:918: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:928: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:932: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:936: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:940: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:949: error: expected initializer before
‘__nonnull’
/usr/include/pthread.h:961: error: expected initializer before
‘__nonnull’
/usr/include/pthread.h:967: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:971: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:977: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:981: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:988: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:993: error: expected initializer before ‘__THROW’
/usr/include/pthread.h:1003: error: expected initializer before
‘__THROW’
/usr/include/pthread.h:1007: error: expected initializer before
‘__THROW’
/usr/include/pthread.h:1011: error: expected initializer before
‘__THROW’
/usr/include/pthread.h:1015: error: expected initializer before
‘__THROW’
/usr/include/pthread.h:1019: error: expected initializer before
‘__THROW’
/usr/include/pthread.h:1029: error: expected initializer before
‘__THROW’
/usr/include/pthread.h:1033: error: expected initializer before
‘__THROW’
/usr/include/pthread.h:1037: error: expected initializer before
‘__THROW’
/usr/include/pthread.h:1042: error: expected initializer before
‘__THROW’
/usr/include/pthread.h:1046: error: expected initializer before
‘__THROW’
/usr/include/pthread.h:1052: error: expected initializer before
‘__THROW’
/usr/include/pthread.h:1057: error: expected initializer before
‘__THROW’
/usr/include/pthread.h:1071: error: expected initializer before
‘__THROW’
/usr/include/pthread.h:1074: error: expected initializer before
‘__THROW’
/usr/include/pthread.h:1077: error: expected initializer before
‘__THROW’
/usr/include/pthread.h:1081: error: expected initializer before
‘__THROW’
/usr/include/pthread.h:1086: error: ‘pthread_t’ was not declared in this
scope
/usr/include/pthread.h:1087: error: expected primary-expression before
‘*’ token
/usr/include/pthread.h:1087: error: ‘__clock_id’ was not declared in
this scope
/usr/include/pthread.h:1087: error: initializer expression list treated
as compound expression
/usr/include/pthread.h:1088: error: expected ‘,’ or ‘;’ before ‘__THROW’
/usr/include/pthread.h:1105: error: expected initializer before
‘__THROW’
/usr/include/pthread.h:1117: error: ‘__END_DECLS’ does not name a type
In file included from /usr/include/c
++/4.3/x86_64-linux-gnu/bits/gthr-default.h:44,
from /usr/include/c
++/4.3/x86_64-linux-gnu/bits/gthr.h:132,
from /usr/include/c++/4.3/ext/atomicity.h:39,
from /usr/include/c++/4.3/bits/ios_base.h:46,
from /usr/include/c++/4.3/ios:48,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/unistd.h:258: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:264: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:268: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:276: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:301: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:313: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:327: error: ‘ssize_t’ does not name a type
/usr/include/unistd.h:333: error: ‘ssize_t’ does not name a type
/usr/include/unistd.h:343: error: ‘ssize_t’ does not name a type
/usr/include/unistd.h:351: error: ‘ssize_t’ does not name a type
/usr/include/unistd.h:371: error: ‘ssize_t’ does not name a type
/usr/include/unistd.h:375: error: ‘ssize_t’ does not name a type
/usr/include/unistd.h:384: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:393: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:413: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:434: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:438: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:444: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:453: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:457: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:461: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:471: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:477: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:485: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:490: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:493: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:505: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:511: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:517: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:522: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:527: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:532: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:538: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:543: error: expected initializer before ‘__THROW’
In file included from /usr/include/c
++/4.3/x86_64-linux-gnu/bits/gthr-default.h:44,
from /usr/include/c
++/4.3/x86_64-linux-gnu/bits/gthr.h:132,
from /usr/include/c++/4.3/ext/atomicity.h:39,
from /usr/include/c++/4.3/bits/ios_base.h:46,
from /usr/include/c++/4.3/ios:48,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/unistd.h:558: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:561: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:564: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:568: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:573: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:576: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:581: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:591: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:593: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:600: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:617: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:634: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:638: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:642: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:645: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:648: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:651: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:656: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:660: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:667: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:672: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:677: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:684: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:689: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:694: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:701: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:706: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:711: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:716: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:723: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:730: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:736: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:741: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:745: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:751: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:757: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:764: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:770: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:775: error: ‘ssize_t’ does not name a type
/usr/include/unistd.h:783: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:786: error: ‘ssize_t’ does not name a type
/usr/include/unistd.h:792: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:797: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:801: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:805: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:808: error: expected initializer before ‘__THROW’
/usr/include/unistd.h:823: error: expected initializer before
‘__nonnull’
/usr/include/unistd.h:828: error: expected initializer before ‘__THROW’
In file included from /usr/include/c
++/4.3/x86_64-linux-gnu/bits/gthr-default.h:44,
from /usr/include/c
++/4.3/x86_64-linux-gnu/bits/gthr.h:132,
from /usr/include/c++/4.3/ext/atomicity.h:39,
from /usr/include/c++/4.3/bits/ios_base.h:46,
from /usr/include/c++/4.3/ios:48,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/unistd.h:845: error: expected initializer before
‘__nonnull’
/usr/include/unistd.h:853: error: expected initializer before
‘__nonnull’
/usr/include/unistd.h:857: error: expected initializer before ‘__wur’
/usr/include/unistd.h:864: error: expected initializer before
‘__nonnull’
/usr/include/unistd.h:866: error: expected initializer before
‘__nonnull’
/usr/include/unistd.h:875: error: expected initializer before
‘__nonnull’
/usr/include/unistd.h:885: error: expected initializer before
‘__nonnull’
/usr/include/unistd.h:903: error: expected initializer before ‘__wur’
/usr/include/unistd.h:910: error: expected initializer before
‘__nonnull’
/usr/include/unistd.h:914: error: expected initializer before
‘__nonnull’
/usr/include/unistd.h:949: error: expected initializer before
‘__nonnull’
/usr/include/unistd.h:961: error: expected initializer before
‘__nonnull’
/usr/include/unistd.h:970: error: expected initializer before ‘__wur’
/usr/include/unistd.h:980: error: expected initializer before ‘__wur’
/usr/include/unistd.h:990: error: expected initializer before ‘__wur’
/usr/include/unistd.h:1034: error: expected initializer before ‘__wur’
/usr/include/unistd.h:1044: error: expected initializer before ‘__wur’
/usr/include/unistd.h:1074: error: expected initializer before
‘__nonnull’
/usr/include/unistd.h:1078: error: expected initializer before
‘__nonnull’
/usr/include/unistd.h:1086: error: ‘ssize_t’ has not been declared
/usr/include/unistd.h:1086: error: expected initializer before
‘__nonnull’
In file included from /usr/include/c
++/4.3/x86_64-linux-gnu/bits/gthr.h:132,
from /usr/include/c++/4.3/ext/atomicity.h:39,
from /usr/include/c++/4.3/bits/ios_base.h:46,
from /usr/include/c++/4.3/ios:48,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:46: error:
expected constructor, destructor, or type conversion before ‘typedef’
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:100: error:
‘pthread_once’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:100: error:
invalid type in declaration before ‘;’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:101: error:
‘pthread_getspecific’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:101: error:
invalid type in declaration before ‘;’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:102: error:
‘pthread_setspecific’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:102: error:
invalid type in declaration before ‘;’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:103: error:
‘pthread_create’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:103: error:
invalid type in declaration before ‘;’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:105: error:
‘pthread_mutex_lock’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:105: error:
invalid type in declaration before ‘;’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:106: error:
‘pthread_mutex_trylock’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:106: error:
invalid type in declaration before ‘;’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:107: error:
‘pthread_mutex_unlock’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:107: error:
invalid type in declaration before ‘;’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:108: error:
‘pthread_mutex_init’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:108: error:
invalid type in declaration before ‘;’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:109: error:
‘pthread_cond_broadcast’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:109: error:
invalid type in declaration before ‘;’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:110: error:
‘pthread_cond_wait’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:110: error:
invalid type in declaration before ‘;’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:113: error:
‘pthread_key_create’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:113: error:
invalid type in declaration before ‘;’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:114: error:
‘pthread_key_delete’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:114: error:
invalid type in declaration before ‘;’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:115: error:
‘pthread_mutexattr_init’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:115: error:
invalid type in declaration before ‘;’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:116: error:
‘pthread_mutexattr_settype’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:116: error:
invalid type in declaration before ‘;’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:117: error:
‘pthread_mutexattr_destroy’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:117: error:
invalid type in declaration before ‘;’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h: In function
‘int __gthread_once(__gthread_once_t*, void (*)())’:
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:653: error:
‘__gthrw_pthread_once’ cannot be used as a function
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h: At global
scope:
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:659: error:
‘__gthread_key_create’ declared as an ‘inline’ variable
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:659: error:
‘__gthread_key_t’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:659: error:
‘key’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:659: error:
‘dtor’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:659: error:
expected primary-expression before ‘void’
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:659: error:
initializer expression list treated as compound expression
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:660: error:
expected ‘,’ or ‘;’ before ‘{’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:665: error:
‘__gthread_key_delete’ declared as an ‘inline’ variable
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:665: error:
‘__gthread_key_t’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:666: error:
expected ‘,’ or ‘;’ before ‘{’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:671: error:
‘__gthread_getspecific’ declared as an ‘inline’ variable
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:671: error:
‘__gthread_key_t’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:672: error:
expected ‘,’ or ‘;’ before ‘{’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:677: error:
‘__gthread_setspecific’ declared as an ‘inline’ variable
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:677: error:
‘__gthread_key_t’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:677: error:
expected primary-expression before ‘const’
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:677: error:
initializer expression list treated as compound expression
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:678: error:
expected ‘,’ or ‘;’ before ‘{’ token
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h: In function
‘int __gthread_mutex_lock(__gthread_mutex_t*)’:
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:686: error:
‘__gthrw_pthread_mutex_lock’ cannot be used as a function
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h: In function
‘int __gthread_mutex_trylock(__gthread_mutex_t*)’:
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:695: error:
‘__gthrw_pthread_mutex_trylock’ cannot be used as a function
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h: In function
‘int __gthread_mutex_unlock(__gthread_mutex_t*)’:
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:704: error:
‘__gthrw_pthread_mutex_unlock’ cannot be used as a function
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h: In function
‘int __gthread_cond_broadcast(__gthread_cond_t*)’:
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:752: error:
‘__gthrw_pthread_cond_broadcast’ cannot be used as a function
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h: In function
‘int __gthread_cond_wait(__gthread_cond_t*, __gthread_mutex_t*)’:
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:758: error:
‘__gthrw_pthread_cond_wait’ cannot be used as a function
In file included from /usr/include/c++/4.3/cwctype:51,
from /usr/include/c++/4.3/bits/locale_facets.h:46,
from /usr/include/c++/4.3/bits/basic_ios.h:44,
from /usr/include/c++/4.3/ios:50,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/wctype.h: At global scope:
/usr/include/wctype.h:53: error: expected constructor, destructor, or
type conversion before ‘typedef’
/usr/include/wctype.h:72: error: expected constructor, destructor, or
type conversion before ‘enum’
/usr/include/wctype.h:103: error: ‘__BEGIN_DECLS’ does not name a type
/usr/include/wctype.h:172: error: ‘wctype_t’ does not name a type
/usr/include/wctype.h:176: error: ‘wctype_t’ has not been declared
/usr/include/wctype.h:177: error: ‘__END_NAMESPACE_C99’ does not name a
type
/usr/include/wctype.h:188: error: ‘__END_NAMESPACE_C99’ does not name a
type
/usr/include/wctype.h:199: error: ‘__END_NAMESPACE_C99’ does not name a
type
/usr/include/wctype.h:222: error: ‘wctrans_t’ has not been declared
/usr/include/wctype.h:231: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/wctype.h:285: error: ‘wctype_t’ does not name a type
/usr/include/wctype.h:290: error: ‘wctype_t’ has not been declared
/usr/include/wctype.h:306: error: ‘wctrans_t’ does not name a type
/usr/include/wctype.h:310: error: ‘wctrans_t’ has not been declared
In file included from /usr/include/c++/4.3/bits/locale_facets.h:46,
from /usr/include/c++/4.3/bits/basic_ios.h:44,
from /usr/include/c++/4.3/ios:50,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/c++/4.3/cwctype:81: error: expected constructor,
destructor, or type conversion before ‘namespace’
In file included from /usr/include/c++/4.3/bits/locale_facets.h:48,
from /usr/include/c++/4.3/bits/basic_ios.h:44,
from /usr/include/c++/4.3/ios:50,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/c++/4.3/x86_64-linux-gnu/bits/ctype_base.h:53: error:
‘_ISupper’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/ctype_base.h:54: error:
‘_ISlower’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/ctype_base.h:55: error:
‘_ISalpha’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/ctype_base.h:56: error:
‘_ISdigit’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/ctype_base.h:57: error:
‘_ISxdigit’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/ctype_base.h:58: error:
‘_ISspace’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/ctype_base.h:59: error:
‘_ISprint’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/ctype_base.h:60: error:
‘_ISalpha’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/ctype_base.h:60: error:
‘_ISdigit’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/ctype_base.h:60: error:
‘_ISpunct’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/ctype_base.h:61: error:
‘_IScntrl’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/ctype_base.h:62: error:
‘_ISpunct’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/ctype_base.h:63: error:
‘_ISalpha’ was not declared in this scope
/usr/include/c++/4.3/x86_64-linux-gnu/bits/ctype_base.h:63: error:
‘_ISdigit’ was not declared in this scope
In file included from /usr/include/c++/4.3/bits/basic_ios.h:44,
from /usr/include/c++/4.3/ios:50,
from /usr/include/c++/4.3/ostream:45,
from /usr/include/c++/4.3/iostream:45,
from project.h:29,
from files.cpp:20:
/usr/include/c++/4.3/bits/locale_facets.h:1226: error: ‘wctype_t’ does
not name a type
/usr/include/c++/4.3/bits/locale_facets.h:1238: error: ‘__wmask_type’
does not name a type
/usr/include/c++/4.3/bits/locale_facets.h:1267: error: ‘__wmask_type’
does not name a type
In file included from /usr/include/signal.h:33,
from project.h:40,
from files.cpp:20:
/usr/include/bits/sigset.h:104: error: expected constructor, destructor,
or type conversion before ‘extern’
In file included from project.h:40,
from files.cpp:20:
/usr/include/signal.h:41: error: expected constructor, destructor, or
type conversion before ‘typedef’
In file included from project.h:40,
from files.cpp:20:
/usr/include/signal.h:75: error: expected constructor, destructor, or
type conversion before ‘typedef’
/usr/include/signal.h:80: error: ‘__sighandler_t’ does not name a type
/usr/include/signal.h:83: error: ‘__sighandler_t’ does not name a type
/usr/include/signal.h:92: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/signal.h:109: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/signal.h:129: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/signal.h:134: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/signal.h:181: error: expected initializer before
‘__attribute_deprecated__’
/usr/include/signal.h:184: error: expected initializer before
‘__attribute_deprecated__’
/usr/include/signal.h:187: error: expected initializer before
‘__attribute_deprecated__’
/usr/include/signal.h:196: error: ‘__sighandler_t’ does not name a type
/usr/include/signal.h:201: error: ‘__sighandler_t’ does not name a type
In file included from project.h:40,
from files.cpp:20:
/usr/include/signal.h:216: error: expected initializer before
‘__nonnull’
/usr/include/signal.h:219: error: expected initializer before
‘__nonnull’
/usr/include/signal.h:222: error: expected initializer before
‘__nonnull’
/usr/include/signal.h:225: error: expected initializer before
‘__nonnull’
/usr/include/signal.h:229: error: expected initializer before
‘__nonnull’
/usr/include/signal.h:233: error: expected initializer before
‘__nonnull’
/usr/include/signal.h:237: error: expected initializer before
‘__nonnull’
/usr/include/signal.h:241: error: expected initializer before
‘__nonnull’
In file included from /usr/include/signal.h:246,
from project.h:40,
from files.cpp:20:
/usr/include/bits/sigaction.h:32: error: ‘__sighandler_t’ does not name
a type
In file included from project.h:40,
from files.cpp:20:
/usr/include/signal.h:257: error: expected initializer before
‘__nonnull’
/usr/include/signal.h:264: error: expected initializer before
‘__nonnull’
/usr/include/signal.h:272: error: expected initializer before
‘__nonnull’
/usr/include/signal.h:280: error: expected initializer before
‘__nonnull’
/usr/include/signal.h:290: error: expected initializer before
‘__nonnull’
/usr/include/signal.h:310: error: ‘__sighandler_t’ does not name a type
In file included from project.h:40,
from files.cpp:20:
/usr/include/signal.h:360: error: expected initializer before
‘__attribute_deprecated__’
/usr/include/signal.h:382: error: ‘__sighandler_t’ does not name a type
In file included from /usr/include/signal.h:389,
from project.h:40,
from files.cpp:20:
/usr/include/bits/sigthread.h:36: error: ‘pthread_t’ was not declared in
this scope
/usr/include/bits/sigthread.h:36: error: expected primary-expression
before ‘int’
/usr/include/bits/sigthread.h:36: error: initializer expression list
treated as compound expression
/usr/include/bits/sigthread.h:36: error: expected ‘,’ or ‘;’ before
‘throw’
In file included from project.h:40,
from files.cpp:20:
/usr/include/signal.h:402: error: ‘__END_DECLS’ does not name a type
In file included from /usr/include/netdb.h:28,
from project.h:41,
from files.cpp:20:
/usr/include/netinet/in.h:219: error: ‘sin_’ has not been declared
/usr/include/netinet/in.h:224: error: invalid application of ‘sizeof’ to
incomplete type ‘sockaddr’
/usr/include/netinet/in.h:225: error: ‘__SOCKADDR_COMMON_SIZE’ was not
declared in this scope
/usr/include/netinet/in.h:233: error: ‘sin6_’ has not been declared
/usr/include/netinet/in.h:281: error: field ‘gr_group’ has incomplete
type
/usr/include/netinet/in.h:290: error: field ‘gsr_group’ has incomplete
type
/usr/include/netinet/in.h:293: error: field ‘gsr_source’ has incomplete
type
/usr/include/netinet/in.h:325: error: field ‘gf_group’ has incomplete
type
/usr/include/netinet/in.h:333: error: field ‘gf_slist’ has incomplete
type
In file included from /usr/include/netdb.h:28,
from project.h:41,
from files.cpp:20:
/usr/include/netinet/in.h:471: error: expected initializer before
‘__attribute_deprecated__’
/usr/include/netinet/in.h:473: error: expected initializer before
‘__attribute_deprecated__’
/usr/include/netinet/in.h:476: error: expected initializer before
‘__attribute_deprecated__’
/usr/include/netinet/in.h:479: error: expected initializer before
‘__attribute_deprecated__’
/usr/include/netinet/in.h:482: error: expected initializer before
‘__attribute_deprecated__’
/usr/include/netinet/in.h:485: error: expected initializer before
‘__attribute_deprecated__’
/usr/include/netinet/in.h:549: error: ‘__END_DECLS’ does not name a type
In file included from /usr/include/netdb.h:43,
from project.h:41,
from files.cpp:20:
/usr/include/bits/netdb.h:27: error: expected constructor, destructor,
or type conversion before ‘struct’
In file included from project.h:41,
from files.cpp:20:
/usr/include/netdb.h:61: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/netdb.h:462: error: ‘sa_family_t’ has not been declared
/usr/include/netdb.h:490: error: ‘sa_family_t’ has not been declared
/usr/include/netdb.h:512: error: ‘sa_family_t’ has not been declared
/usr/include/netdb.h:531: error: ‘sa_family_t’ has not been declared
/usr/include/netdb.h:661: error: ‘__restrict_arr’ was not declared in
this scope
/usr/include/netdb.h:682: error: ‘__END_DECLS’ does not name a type
In file included from project.h:50,
from files.cpp:20:
/usr/include/assert.h:88: error: ‘__END_DECLS’ does not name a type
In file included from /usr/include/fcntl.h:34,
from project.h:52,
from files.cpp:20:
/usr/include/bits/fcntl.h:230: error: expected constructor, destructor,
or type conversion before ‘extern’
/usr/include/bits/fcntl.h:240: error: ‘ssize_t’ does not name a type
/usr/include/bits/fcntl.h:244: error: ‘ssize_t’ does not name a type
/usr/include/bits/fcntl.h:249: error: ‘ssize_t’ does not name a type
In file included from project.h:52,
from files.cpp:20:
/usr/include/fcntl.h:76: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/fcntl.h:85: error: expected initializer before ‘__nonnull’
/usr/include/fcntl.h:95: error: expected initializer before ‘__nonnull’
/usr/include/fcntl.h:110: error: expected initializer before ‘__nonnull’
/usr/include/fcntl.h:121: error: expected initializer before ‘__nonnull’
/usr/include/fcntl.h:130: error: expected initializer before ‘__nonnull’
/usr/include/fcntl.h:140: error: expected initializer before ‘__nonnull’
/usr/include/fcntl.h:220: error: ‘__END_DECLS’ does not name a type
In file included from project.h:53,
from files.cpp:20:
/usr/include/errno.h:69: error: expected constructor, destructor, or
type conversion before ‘typedef’
In file included from project.h:55,
from files.cpp:20:
/usr/include/netinet/tcp.h:94: error: ‘u_int16_t’ does not name a type
/usr/include/netinet/tcp.h:95: error: ‘u_int16_t’ does not name a type
/usr/include/netinet/tcp.h:96: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:97: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:99: error: ‘u_int16_t’ does not name a type
/usr/include/netinet/tcp.h:100: error: ‘u_int16_t’ does not name a type
/usr/include/netinet/tcp.h:101: error: ‘u_int16_t’ does not name a type
/usr/include/netinet/tcp.h:102: error: ‘u_int16_t’ does not name a type
/usr/include/netinet/tcp.h:103: error: ‘u_int16_t’ does not name a type
/usr/include/netinet/tcp.h:104: error: ‘u_int16_t’ does not name a type
/usr/include/netinet/tcp.h:105: error: ‘u_int16_t’ does not name a type
/usr/include/netinet/tcp.h:106: error: ‘u_int16_t’ does not name a type
/usr/include/netinet/tcp.h:107: error: ‘u_int16_t’ does not name a type
/usr/include/netinet/tcp.h:121: error: ‘u_int16_t’ does not name a type
/usr/include/netinet/tcp.h:122: error: ‘u_int16_t’ does not name a type
/usr/include/netinet/tcp.h:123: error: ‘u_int16_t’ does not name a type
/usr/include/netinet/tcp.h:190: error: ‘u_int8_t’ does not name a type
/usr/include/netinet/tcp.h:191: error: ‘u_int8_t’ does not name a type
/usr/include/netinet/tcp.h:192: error: ‘u_int8_t’ does not name a type
/usr/include/netinet/tcp.h:193: error: ‘u_int8_t’ does not name a type
/usr/include/netinet/tcp.h:194: error: ‘u_int8_t’ does not name a type
/usr/include/netinet/tcp.h:195: error: ‘u_int8_t’ does not name a type
/usr/include/netinet/tcp.h:196: error: ‘u_int8_t’ does not name a type
/usr/include/netinet/tcp.h:198: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:199: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:200: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:201: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:203: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:204: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:205: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:206: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:207: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:210: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:211: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:212: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:213: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:216: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:217: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:218: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:219: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:220: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:221: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:222: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:223: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:225: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:226: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:228: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:237: error: field ‘tcpm_addr’ has incomplete
type
/usr/include/netinet/tcp.h:238: error: ‘u_int16_t’ does not name a type
/usr/include/netinet/tcp.h:239: error: ‘u_int16_t’ does not name a type
/usr/include/netinet/tcp.h:240: error: ‘u_int32_t’ does not name a type
/usr/include/netinet/tcp.h:241: error: ‘u_int8_t’ does not name a type
In file included from project.h:56,
from files.cpp:20:
/usr/include/arpa/inet.h:35: error: expected constructor, destructor, or
type conversion before ‘extern’
/usr/include/arpa/inet.h:104: error: ‘__END_DECLS’ does not name a type
In file included from project.h:57,
from files.cpp:20:
/usr/include/pwd.h:95: error: ‘FILE’ was not declared in this scope
/usr/include/pwd.h:95: error: ‘__stream’ was not declared in this scope
/usr/include/pwd.h:104: error: ‘FILE’ has not been declared
/usr/include/pwd.h:164: error: ‘FILE’ was not declared in this scope
/usr/include/pwd.h:164: error: expected primary-expression before
‘__restrict__’
/usr/include/pwd.h:165: error: expected primary-expression before
‘struct’
/usr/include/pwd.h:166: error: expected primary-expression before ‘char’
/usr/include/pwd.h:166: error: expected primary-expression before
‘__buflen’
/usr/include/pwd.h:167: error: expected primary-expression before
‘struct’
/usr/include/pwd.h:167: error: initializer expression list treated as
compound expression
In file included from files.cpp:20:
project.h:58: error: expected constructor, destructor, or type
conversion before ‘typedef’
In file included from /usr/include/stdlib.h:43,
from /usr/lib/ruby/1.8/x86_64-linux/ruby.h:40,
from em.h:34,
from project.h:138,
from files.cpp:20:
/usr/include/bits/waitstatus.h:67: error: expected constructor,
destructor, or type conversion before ‘union’
files.cpp:92: error: expected `}'' at end of input
make: *** [files.o] Error 1
Gem files will remain installed
in /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10 for inspection.
Results logged
to /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/gem_make.out
--
Juan José Vidal <juanjova-mweRjIXS2Z8@public.gmane.org>
Universidad de Murcia
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.