답안 #12046

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
12046 2014-12-19T16:34:58 Z tncks0121 배낭 문제 준비하기 (GA9_invknapsack) C++14
컴파일 오류
0 ms 0 KB
define _CRT_SECURE_NO_WARNINGS
    
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <memory.h>
#include <math.h>
#include <assert.h>
#include <stack>
#include <queue>
#include <map>
#include <set>
#include <algorithm>
#include <string>
#include <functional>
#include <vector>
#include <deque>
#include <utility>
#include <bitset>
#include <limits.h>
#include <time.h>
    
using namespace std;
typedef long long ll;
typedef unsigned long long llu;
typedef double lf;
typedef unsigned int uint;
typedef long double llf;
typedef pair<int, int> pii;
   
ll T;
const int O = 62;
const ll MAXV = (ll)1e18 + 10;
   
ll C[O+1][O+1];
   
int res[305], N;
   
int main() {
  scanf("%lld", &T);
     
  for(int i = 1; i <= O; i++) {
    C[i][0] = C[i][i] = 1;
    for(int j = 1; j < i; j++) C[i][j] = min(C[i-1][j] + C[i-1][j-1], MAXV);
  }
     
  N = O;
  for(int i = 0; i < O; i++) res[i] = 1;
     
  while(T > 0) {
    ll t = 1; int v = O+1;
    for(int i = 1; i <= O; i++) {
      if(T >= C[O][i] && C[O][i] > t) t = C[O][i], v = O+1 - i;
    }
    res[N++] = v;
    T -= t;
  }
     
  printf("%d %d\n", N, O+1);
  for(int i = 0; i < N; i++) {
    printf("%d%c", res[i], (i + 1 < N) ? ' ' : '\n');
  }
  return 0;
}

Compilation message

invknapsack.cpp:1:1: error: 'define' does not name a type
In file included from invknapsack.cpp:4:0:
/usr/include/stdlib.h:140:8: error: 'size_t' does not name a type
In file included from /usr/include/stdlib.h:320:0,
                 from invknapsack.cpp:4:
/usr/include/x86_64-linux-gnu/sys/types.h:34:9: error: '__u_char' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:35:9: error: '__u_short' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:36:9: error: '__u_int' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:37:9: error: '__u_long' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:38:9: error: '__quad_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:39:9: error: '__u_quad_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:40:9: error: '__fsid_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:45:9: error: '__loff_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:49:9: error: '__ino_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:56:9: error: '__ino64_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:61:9: error: '__dev_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:66:9: error: '__gid_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:71:9: error: '__mode_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:76:9: error: '__nlink_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:81:9: error: '__uid_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:99:9: error: '__pid_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:105:9: error: '__id_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:116:9: error: '__daddr_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:117:9: error: '__caddr_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:123:9: error: '__key_t' does not name a type
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:133:0,
                 from /usr/include/stdlib.h:320,
                 from invknapsack.cpp:4:
/usr/include/time.h:60:9: error: '__clock_t' does not name a type
/usr/include/time.h:76:9: error: '__time_t' does not name a type
/usr/include/time.h:92:9: error: '__clockid_t' does not name a type
/usr/include/time.h:104:9: error: '__timer_t' does not name a type
In file included from /usr/include/stdlib.h:320:0,
                 from invknapsack.cpp:4:
/usr/include/x86_64-linux-gnu/sys/types.h:137:9: error: '__useconds_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:141:9: error: '__suseconds_t' does not name a type
In file included from /usr/include/x86_64-linux-gnu/sys/select.h:44:0,
                 from /usr/include/x86_64-linux-gnu/sys/types.h:220,
                 from /usr/include/stdlib.h:320,
                 from invknapsack.cpp:4:
/usr/include/time.h:122:5: error: '__time_t' does not name a type
In file included from /usr/include/x86_64-linux-gnu/sys/select.h:46:0,
                 from /usr/include/x86_64-linux-gnu/sys/types.h:220,
                 from /usr/include/stdlib.h:320,
                 from invknapsack.cpp:4:
/usr/include/x86_64-linux-gnu/bits/time.h:33:5: error: '__time_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/time.h:34:5: error: '__suseconds_t' does not name a type
In file included from /usr/include/stdlib.h:320:0,
                 from invknapsack.cpp:4:
/usr/include/x86_64-linux-gnu/sys/types.h:229:9: error: '__blksize_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:236:9: error: '__blkcnt_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:240:9: error: '__fsblkcnt_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:244:9: error: '__fsfilcnt_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:263:9: error: '__blkcnt64_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:264:9: error: '__fsblkcnt64_t' does not name a type
/usr/include/x86_64-linux-gnu/sys/types.h:265:9: error: '__fsfilcnt64_t' does not name a type
In file included from invknapsack.cpp:4:0:
/usr/include/stdlib.h:337:4: error: 'size_t' has not been declared
/usr/include/stdlib.h:367:4: error: 'size_t' has not been declared
/usr/include/stdlib.h:471:22: error: 'size_t' was not declared in this scope
/usr/include/stdlib.h:471:37: error: expected ',' or ';' before 'throw'
/usr/include/stdlib.h:473:22: error: 'size_t' was not declared in this scope
/usr/include/stdlib.h:473:38: error: 'size_t' was not declared in this scope
/usr/include/stdlib.h:473:51: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/stdlib.h:474:6: error: expected ',' or ';' before 'throw'
/usr/include/stdlib.h:485:36: error: 'size_t' has not been declared
In file included from /usr/include/stdlib.h:497:0,
                 from invknapsack.cpp:4:
/usr/include/alloca.h:33:22: error: 'size_t' was not declared in this scope
/usr/include/alloca.h:33:37: error: expected ',' or ';' before 'throw'
In file included from invknapsack.cpp:4:0:
/usr/include/stdlib.h:503:22: error: 'size_t' was not declared in this scope
/usr/include/stdlib.h:503:37: error: expected ',' or ';' before 'throw'
/usr/include/stdlib.h:508:45: error: 'size_t' has not been declared
/usr/include/stdlib.h:508:65: error: 'size_t' has not been declared
/usr/include/stdlib.h:756:9: error: 'size_t' has not been declared
/usr/include/stdlib.h:756:25: error: 'size_t' has not been declared
/usr/include/stdlib.h:761:34: error: 'size_t' has not been declared
/usr/include/stdlib.h:761:50: error: 'size_t' has not been declared
/usr/include/stdlib.h:764:36: error: 'size_t' has not been declared
/usr/include/stdlib.h:764:52: error: 'size_t' has not been declared
/usr/include/stdlib.h:840:6: error: 'size_t' has not been declared
/usr/include/stdlib.h:843:6: error: 'size_t' has not been declared
/usr/include/stdlib.h:847:31: error: 'size_t' has not been declared
/usr/include/stdlib.h:851:31: error: 'size_t' has not been declared
/usr/include/stdlib.h:860:38: error: 'size_t' has not been declared
/usr/include/stdlib.h:864:36: error: 'size_t' has not been declared
/usr/include/stdlib.h:871:8: error: 'size_t' does not name a type
/usr/include/stdlib.h:874:8: error: 'size_t' does not name a type
/usr/include/stdlib.h:937:46: error: 'size_t' has not been declared
In file included from /usr/include/stdlib.h:955:0,
                 from invknapsack.cpp:4:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:26:9: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/stdlib.h:30:14: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/stdlib.h: In function 'char* realpath(const char*, char*)':
/usr/include/x86_64-linux-gnu/bits/stdlib.h:40:30: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/stdlib.h: At global scope:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:53:52: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/stdlib.h:54:8: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/stdlib.h:55:12: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/stdlib.h:58:12: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/stdlib.h:58:12: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/stdlib.h:65:1: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/stdlib.h: In function 'int ptsname_r(int, char*, int)':
/usr/include/x86_64-linux-gnu/bits/stdlib.h:67:25: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/stdlib.h: At global scope:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:78:54: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/stdlib.h: In function 'int wctomb(char*, wchar_t)':
/usr/include/x86_64-linux-gnu/bits/stdlib.h:93:23: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/stdlib.h: At global scope:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:99:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/stdlib.h:102:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/stdlib.h:106:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/stdlib.h:113:24: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/stdlib.h:131:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/stdlib.h:134:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/stdlib.h:138:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/stdlib.h:144:24: error: 'size_t' does not name a type
In file included from invknapsack.cpp:5:0:
/usr/include/string.h:45:40: error: 'size_t' has not been declared
/usr/include/string.h:49:58: error: 'size_t' has not been declared
/usr/include/string.h:58:18: error: 'size_t' has not been declared
/usr/include/string.h:65:42: error: 'size_t' has not been declared
/usr/include/string.h:68:60: error: 'size_t' has not been declared
/usr/include/string.h:75:42: error: 'size_t' has not been declared
/usr/include/string.h:77:58: error: 'size_t' has not been declared
/usr/include/string.h:82:29: error: 'size_t' has not been declared
/usr/include/string.h:88:37: error: 'size_t' has not been declared
/usr/include/string.h:115:49: error: 'size_t' has not been declared
/usr/include/string.h:117:65: error: 'size_t' has not been declared
/usr/include/string.h:132:41: error: 'size_t' has not been declared
/usr/include/string.h:140:9: error: 'size_t' has not been declared
/usr/include/string.h:146:61: error: 'size_t' has not been declared
/usr/include/string.h:153:8: error: 'size_t' does not name a type
/usr/include/string.h:168:8: error: 'size_t' does not name a type
/usr/include/string.h:183:47: error: 'size_t' has not been declared
/usr/include/string.h:284:8: error: 'size_t' does not name a type
/usr/include/string.h:288:8: error: 'size_t' does not name a type
/usr/include/string.h:382:48: error: 'size_t' has not been declared
/usr/include/string.h:383:32: error: 'size_t' has not been declared
/usr/include/string.h:389:36: error: 'size_t' has not been declared
/usr/include/string.h:392:41: error: 'size_t' has not been declared
/usr/include/string.h:399:8: error: 'size_t' does not name a type
/usr/include/string.h:406:8: error: 'size_t' does not name a type
/usr/include/string.h:438:53: error: 'size_t' has not been declared
/usr/include/string.h:451:33: error: 'size_t' has not been declared
/usr/include/string.h:455:55: error: 'size_t' has not been declared
/usr/include/string.h:459:31: error: 'size_t' has not been declared
/usr/include/string.h:462:58: error: 'size_t' has not been declared
/usr/include/string.h:540:65: error: 'size_t' has not been declared
/usr/include/string.h:552:6: error: 'size_t' has not been declared
/usr/include/string.h:577:36: error: 'size_t' has not been declared
/usr/include/string.h:580:41: error: 'size_t' has not been declared
/usr/include/string.h:593:34: error: 'size_t' has not been declared
In file included from /usr/include/string.h:642:0,
                 from invknapsack.cpp:5:
/usr/include/x86_64-linux-gnu/bits/string3.h:49:1: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/string3.h:56:1: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/string3.h:63:1: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/string3.h:77:1: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/string3.h:90:1: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/string3.h:96:1: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/string3.h:118:1: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/string3.h:125:64: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/string3.h:126:8: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/string3.h:127:14: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/string3.h:132:1: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/string3.h: In function 'char* stpncpy(char*, const char*, int)':
/usr/include/x86_64-linux-gnu/bits/string3.h:134:26: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/string3.h: At global scope:
/usr/include/x86_64-linux-gnu/bits/string3.h:149:1: error: 'size_t' has not been declared
In file included from /usr/include/c++/4.6/bits/stl_algo.h:61:0,
                 from /usr/include/c++/4.6/algorithm:63,
                 from invknapsack.cpp:13:
/usr/include/c++/4.6/cstdlib:122:11: error: '::mbstowcs' has not been declared
/usr/include/c++/4.6/cstdlib:134:11: error: '::wcstombs' has not been declared
In file included from /usr/include/c++/4.6/random:39:0,
                 from /usr/include/c++/4.6/bits/stl_algo.h:67,
                 from /usr/include/c++/4.6/algorithm:63,
                 from invknapsack.cpp:13:
/usr/include/c++/4.6/cstdio:94:11: error: '::FILE' has not been declared
/usr/include/c++/4.6/cstdio:95:11: error: '::fpos_t' has not been declared
/usr/include/c++/4.6/cstdio:97:11: error: '::clearerr' has not been declared
/usr/include/c++/4.6/cstdio:98:11: error: '::fclose' has not been declared
/usr/include/c++/4.6/cstdio:99:11: error: '::feof' has not been declared
/usr/include/c++/4.6/cstdio:100:11: error: '::ferror' has not been declared
/usr/include/c++/4.6/cstdio:101:11: error: '::fflush' has not been declared
/usr/include/c++/4.6/cstdio:102:11: error: '::fgetc' has not been declared
/usr/include/c++/4.6/cstdio:103:11: error: '::fgetpos' has not been declared
/usr/include/c++/4.6/cstdio:104:11: error: '::fgets' has not been declared
/usr/include/c++/4.6/cstdio:105:11: error: '::fopen' has not been declared
/usr/include/c++/4.6/cstdio:106:11: error: '::fprintf' has not been declared
/usr/include/c++/4.6/cstdio:107:11: error: '::fputc' has not been declared
/usr/include/c++/4.6/cstdio:108:11: error: '::fputs' has not been declared
/usr/include/c++/4.6/cstdio:109:11: error: '::fread' has not been declared
/usr/include/c++/4.6/cstdio:110:11: error: '::freopen' has not been declared
/usr/include/c++/4.6/cstdio:111:11: error: '::fscanf' has not been declared
/usr/include/c++/4.6/cstdio:112:11: error: '::fseek' has not been declared
/usr/include/c++/4.6/cstdio:113:11: error: '::fsetpos' has not been declared
/usr/include/c++/4.6/cstdio:114:11: error: '::ftell' has not been declared
/usr/include/c++/4.6/cstdio:115:11: error: '::fwrite' has not been declared
/usr/include/c++/4.6/cstdio:116:11: error: '::getc' has not been declared
/usr/include/c++/4.6/cstdio:117:11: error: '::getchar' has not been declared
/usr/include/c++/4.6/cstdio:118:11: error: '::gets' has not been declared
/usr/include/c++/4.6/cstdio:119:11: error: '::perror' has not been declared
/usr/include/c++/4.6/cstdio:120:11: error: '::printf' has not been declared
/usr/include/c++/4.6/cstdio:121:11: error: '::putc' has not been declared
/usr/include/c++/4.6/cstdio:122:11: error: '::putchar' has not been declared
/usr/include/c++/4.6/cstdio:123:11: error: '::puts' has not been declared
/usr/include/c++/4.6/cstdio:124:11: error: '::remove' has not been declared
/usr/include/c++/4.6/cstdio:125:11: error: '::rename' has not been declared
/usr/include/c++/4.6/cstdio:126:11: error: '::rewind' has not been declared
/usr/include/c++/4.6/cstdio:127:11: error: '::scanf' has not been declared
/usr/include/c++/4.6/cstdio:128:11: error: '::setbuf' has not been declared
/usr/include/c++/4.6/cstdio:129:11: error: '::setvbuf' has not been declared
/usr/include/c++/4.6/cstdio:130:11: error: '::sprintf' has not been declared
/usr/include/c++/4.6/cstdio:131:11: error: '::sscanf' has not been declared
/usr/include/c++/4.6/cstdio:132:11: error: '::tmpfile' has not been declared
/usr/include/c++/4.6/cstdio:133:11: error: '::tmpnam' has not been declared
/usr/include/c++/4.6/cstdio:134:11: error: '::ungetc' has not been declared
/usr/include/c++/4.6/cstdio:135:11: error: '::vfprintf' has not been declared
/usr/include/c++/4.6/cstdio:136:11: error: '::vprintf' has not been declared
/usr/include/c++/4.6/cstdio:137:11: error: '::vsprintf' has not been declared
/usr/include/c++/4.6/cstdio:166:11: error: '::snprintf' has not been declared
/usr/include/c++/4.6/cstdio:167:11: error: '::vfscanf' has not been declared
/usr/include/c++/4.6/cstdio:168:11: error: '::vscanf' has not been declared
/usr/include/c++/4.6/cstdio:169:11: error: '::vsnprintf' has not been declared
/usr/include/c++/4.6/cstdio:170:11: error: '::vsscanf' has not been declared
/usr/include/c++/4.6/cstdio:176:22: error: '__gnu_cxx::snprintf' has not been declared
/usr/include/c++/4.6/cstdio:177:22: error: '__gnu_cxx::vfscanf' has not been declared
/usr/include/c++/4.6/cstdio:178:22: error: '__gnu_cxx::vscanf' has not been declared
/usr/include/c++/4.6/cstdio:179:22: error: '__gnu_cxx::vsnprintf' has not been declared
/usr/include/c++/4.6/cstdio:180:22: error: '__gnu_cxx::vsscanf' has not been declared
In file included from /usr/include/c++/4.6/cwchar:46:0,
                 from /usr/include/c++/4.6/bits/postypes.h:42,
                 from /usr/include/c++/4.6/bits/char_traits.h:42,
                 from /usr/include/c++/4.6/string:42,
                 from /usr/include/c++/4.6/random:41,
                 from /usr/include/c++/4.6/bits/stl_algo.h:67,
                 from /usr/include/c++/4.6/algorithm:63,
                 from invknapsack.cpp:13:
/usr/include/wchar.h:106:9: error: '__mbstate_t' does not name a type
/usr/include/wchar.h:148:40: error: 'size_t' has not been declared
/usr/include/wchar.h:156:40: error: 'size_t' has not been declared
/usr/include/wchar.h:163:67: error: 'size_t' has not been declared
/usr/include/wchar.h:173:4: error: 'size_t' has not been declared
/usr/include/wchar.h:183:6: error: 'size_t' has not been declared
/usr/include/wchar.h:193:8: error: 'size_t' does not name a type
/usr/include/wchar.h:209:8: error: 'size_t' does not name a type
/usr/include/wchar.h:249:8: error: 'size_t' does not name a type
/usr/include/wchar.h:253:8: error: 'size_t' does not name a type
/usr/include/wchar.h:284:8: error: 'size_t' does not name a type
/usr/include/wchar.h:303:8: error: 'size_t' does not name a type
/usr/include/wchar.h:311:59: error: 'size_t' has not been declared
/usr/include/wchar.h:314:12: error: 'size_t' has not been declared
/usr/include/wchar.h:322:67: error: 'size_t' has not been declared
/usr/include/wchar.h:327:39: error: 'size_t' has not been declared
/usr/include/wchar.h:331:65: error: 'size_t' has not been declared
/usr/include/wchar.h:335:53: error: 'size_t' has not been declared
/usr/include/wchar.h:342:40: error: 'size_t' has not been declared
/usr/include/wchar.h:358:29: error: 'mbstate_t' does not name a type
/usr/include/wchar.h:362:8: error: 'size_t' does not name a type
/usr/include/wchar.h:367:8: error: 'size_t' does not name a type
/usr/include/wchar.h:371:8: error: 'size_t' does not name a type
/usr/include/wchar.h:373:8: error: 'size_t' does not name a type
/usr/include/wchar.h:395:17: error: 'size_t' does not name a type
/usr/include/wchar.h:405:8: error: 'size_t' does not name a type
/usr/include/wchar.h:411:8: error: 'size_t' does not name a type
/usr/include/wchar.h:420:8: error: 'size_t' does not name a type
/usr/include/wchar.h:426:8: error: 'size_t' does not name a type
/usr/include/wchar.h:440:44: error: 'size_t' has not been declared
/usr/include/wchar.h:569:40: error: 'size_t' has not been declared
/usr/include/wchar.h:577:8: error: '__FILE' does not name a type
/usr/include/wchar.h:584:19: error: '__FILE' was not declared in this scope
/usr/include/wchar.h:584:27: error: '__fp' was not declared in this scope
/usr/include/wchar.h:584:33: error: expected primary-expression before 'int'
/usr/include/wchar.h:584:43: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/wchar.h:584:45: error: expected ',' or ';' before 'throw'
/usr/include/wchar.h:591:22: error: '__FILE' was not declared in this scope
/usr/include/wchar.h:591:30: error: expected primary-expression before '__restrict'
/usr/include/wchar.h:592:8: error: expected primary-expression before '__const'
/usr/include/wchar.h:592:46: error: expected primary-expression before '...' token
/usr/include/wchar.h:592:49: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/wchar.h:601:47: error: 'size_t' has not been declared
/usr/include/wchar.h:609:23: error: '__FILE' was not declared in this scope
/usr/include/wchar.h:609:31: error: expected primary-expression before '__restrict'
/usr/include/wchar.h:610:9: error: expected primary-expression before '__const'
/usr/include/wchar.h:611:9: error: '__gnuc_va_list' was not declared in this scope
/usr/include/wchar.h:611:29: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/wchar.h:618:8: error: '__gnuc_va_list' has not been declared
/usr/include/wchar.h:622:48: error: 'size_t' has not been declared
/usr/include/wchar.h:624:9: error: '__gnuc_va_list' has not been declared
/usr/include/wchar.h:632:21: error: '__FILE' was not declared in this scope
/usr/include/wchar.h:632:29: error: expected primary-expression before '__restrict'
/usr/include/wchar.h:633:7: error: expected primary-expression before '__const'
/usr/include/wchar.h:633:45: error: expected primary-expression before '...' token
/usr/include/wchar.h:633:48: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/wchar.h:686:22: error: '__FILE' was not declared in this scope
/usr/include/wchar.h:686:30: error: expected primary-expression before '__restrict'
/usr/include/wchar.h:687:8: error: expected primary-expression before '__const'
/usr/include/wchar.h:688:8: error: '__gnuc_va_list' was not declared in this scope
/usr/include/wchar.h:688:28: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/wchar.h:695:7: error: '__gnuc_va_list' has not been declared
/usr/include/wchar.h:700:8: error: '__gnuc_va_list' has not been declared
/usr/include/wchar.h:742:23: error: '__FILE' was not declared in this scope
/usr/include/wchar.h:742:31: error: '__stream' was not declared in this scope
/usr/include/wchar.h:743:22: error: '__FILE' was not declared in this scope
/usr/include/wchar.h:743:30: error: '__stream' was not declared in this scope
/usr/include/wchar.h:756:37: error: '__FILE' has not been declared
/usr/include/wchar.h:757:36: error: '__FILE' has not been declared
/usr/include/wchar.h:772:4: error: '__FILE' has not been declared
/usr/include/wchar.h:779:6: error: '__FILE' has not been declared
/usr/include/wchar.h:786:37: error: '__FILE' has not been declared
/usr/include/wchar.h:798:31: error: '__FILE' was not declared in this scope
/usr/include/wchar.h:798:39: error: '__stream' was not declared in this scope
/usr/include/wchar.h:807:32: error: '__FILE' was not declared in this scope
/usr/include/wchar.h:807:40: error: '__stream' was not declared in this scope
/usr/include/wchar.h:815:46: error: '__FILE' has not been declared
/usr/include/wchar.h:824:45: error: '__FILE' has not been declared
/usr/include/wchar.h:835:6: error: '__FILE' has not been declared
/usr/include/wchar.h:844:8: error: '__FILE' has not been declared
/usr/include/wchar.h:852:8: error: 'size_t' does not name a type
/usr/include/wchar.h:862:8: error: 'size_t' does not name a type
In file included from /usr/include/wchar.h:881:0,
                 from /usr/include/c++/4.6/cwchar:46,
                 from /usr/include/c++/4.6/bits/postypes.h:42,
                 from /usr/include/c++/4.6/bits/char_traits.h:42,
                 from /usr/include/c++/4.6/string:42,
                 from /usr/include/c++/4.6/random:41,
                 from /usr/include/c++/4.6/bits/stl_algo.h:67,
                 from /usr/include/c++/4.6/algorithm:63,
                 from invknapsack.cpp:13:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:26:45: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:27:11: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:28:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:32:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:32:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:40:1: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h: In function 'wchar_t* wmemcpy(wchar_t*, const wchar_t*, int)':
/usr/include/x86_64-linux-gnu/bits/wchar2.h:43:25: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:43:25: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/x86_64-linux-gnu/bits/wchar2.h: At global scope:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:58:5: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:58:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:59:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:62:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:62:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:69:1: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h: In function 'wchar_t* wmemmove(wchar_t*, const wchar_t*, int)':
/usr/include/x86_64-linux-gnu/bits/wchar2.h:71:25: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:71:25: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/x86_64-linux-gnu/bits/wchar2.h: At global scope:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:87:39: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:88:5: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:89:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:93:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:93:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:101:1: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h: In function 'wchar_t* wmempcpy(wchar_t*, const wchar_t*, int)':
/usr/include/x86_64-linux-gnu/bits/wchar2.h:104:25: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:104:25: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/x86_64-linux-gnu/bits/wchar2.h: At global scope:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:119:59: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:120:11: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:121:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:123:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:123:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:130:1: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h: In function 'wchar_t* wmemset(wchar_t*, wchar_t, int)':
/usr/include/x86_64-linux-gnu/bits/wchar2.h:132:24: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:132:24: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/x86_64-linux-gnu/bits/wchar2.h: At global scope:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:147:10: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h: In function 'wchar_t* wcscpy(wchar_t*, const wchar_t*)':
/usr/include/x86_64-linux-gnu/bits/wchar2.h:155:26: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:155:26: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/x86_64-linux-gnu/bits/wchar2.h: At global scope:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:163:10: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h: In function 'wchar_t* wcpcpy(wchar_t*, const wchar_t*)':
/usr/include/x86_64-linux-gnu/bits/wchar2.h:171:26: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:171:26: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/x86_64-linux-gnu/bits/wchar2.h: At global scope:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:178:46: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:179:11: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:180:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:184:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:184:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:192:1: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h: In function 'wchar_t* wcsncpy(wchar_t*, const wchar_t*, int)':
/usr/include/x86_64-linux-gnu/bits/wchar2.h:195:26: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:195:26: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/x86_64-linux-gnu/bits/wchar2.h: At global scope:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:209:46: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:210:11: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:211:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:215:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:215:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:223:1: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h: In function 'wchar_t* wcpncpy(wchar_t*, const wchar_t*, int)':
/usr/include/x86_64-linux-gnu/bits/wchar2.h:226:26: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:226:26: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/x86_64-linux-gnu/bits/wchar2.h: At global scope:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:241:10: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h: In function 'wchar_t* wcscat(wchar_t*, const wchar_t*)':
/usr/include/x86_64-linux-gnu/bits/wchar2.h:249:26: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:249:26: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/x86_64-linux-gnu/bits/wchar2.h: At global scope:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:257:11: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:257:23: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:258:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:264:1: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h: In function 'wchar_t* wcsncat(wchar_t*, const wchar_t*, int)':
/usr/include/x86_64-linux-gnu/bits/wchar2.h:267:26: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:267:26: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/x86_64-linux-gnu/bits/wchar2.h: At global scope:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:274:53: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:275:19: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:279:12: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:286:1: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h: In function 'int swprintf(wchar_t*, int, const wchar_t*, ...)':
/usr/include/x86_64-linux-gnu/bits/wchar2.h:289:23: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:289:23: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/x86_64-linux-gnu/bits/wchar2.h: At global scope:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:304:54: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:305:20: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:307:8: error: '__gnuc_va_list' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:310:12: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:310:12: error: '__gnuc_va_list' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:316:1: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:316:1: error: '__gnuc_va_list' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h: In function 'int vswprintf(wchar_t*, int, const wchar_t*, int)':
/usr/include/x86_64-linux-gnu/bits/wchar2.h:319:23: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:319:23: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/x86_64-linux-gnu/bits/wchar2.h: At global scope:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:328:28: error: '__FILE' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:328:36: error: expected primary-expression before '__restrict'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:328:57: error: expected primary-expression before 'int'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:329:7: error: expected primary-expression before '__const'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:329:45: error: expected primary-expression before '...' token
/usr/include/x86_64-linux-gnu/bits/wchar2.h:329:48: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/x86_64-linux-gnu/bits/wchar2.h:332:29: error: '__FILE' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:332:37: error: expected primary-expression before '__restrict'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:332:58: error: expected primary-expression before 'int'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:333:8: error: expected primary-expression before '__const'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:334:8: error: '__gnuc_va_list' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:334:27: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/x86_64-linux-gnu/bits/wchar2.h:336:7: error: '__gnuc_va_list' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:346:11: error: 'fwprintf' declared as an 'inline' variable
/usr/include/x86_64-linux-gnu/bits/wchar2.h:346:11: error: redefinition of 'int fwprintf'
/usr/include/wchar.h:591:12: error: 'int fwprintf' previously defined here
/usr/include/x86_64-linux-gnu/bits/wchar2.h:346:11: error: '__FILE' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:346:19: error: expected primary-expression before '__restrict'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:346:40: error: expected primary-expression before '__const'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:346:75: error: expected primary-expression before '...' token
/usr/include/x86_64-linux-gnu/bits/wchar2.h:359:46: error: '__gnuc_va_list' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:365:12: error: 'vfwprintf' declared as an 'inline' variable
/usr/include/x86_64-linux-gnu/bits/wchar2.h:365:12: error: redefinition of 'int vfwprintf'
/usr/include/wchar.h:609:12: error: 'int vfwprintf' previously defined here
/usr/include/x86_64-linux-gnu/bits/wchar2.h:365:12: error: '__FILE' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:365:20: error: expected primary-expression before '__restrict'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:366:5: error: expected primary-expression before '__const'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:366:40: error: '__gnuc_va_list' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:373:56: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:374:10: error: '__FILE' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:375:17: error: '__FILE' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:378:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:378:17: error: '__FILE' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:385:43: error: '__FILE' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h: In function 'wchar_t* fgetws(wchar_t*, int, int*)':
/usr/include/x86_64-linux-gnu/bits/wchar2.h:387:23: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:387:23: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:393:20: error: expected ')' before '__n'
/usr/include/x86_64-linux-gnu/bits/wchar2.h: At global scope:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:401:65: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:402:21: error: '__FILE' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:404:17: error: '__FILE' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:408:17: error: 'size_t' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:408:17: error: '__FILE' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h:416:52: error: '__FILE' has not been declared
/usr/include/x86_64-linux-gnu/bits/wchar2.h: In function 'wchar_t* fgetws_unlocked(wchar_t*, int, int*)':
/usr/include/x86_64-linux-gnu/bits/wchar2.h:418:23: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/wchar2.h:418:23: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/x86_64-linux-gnu/bits/wchar2.h:424:20: error: expected ')' before '__n'
/usr/include/x86_64-linux-gnu/bits/wchar2.h: At global scope:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:433:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/wchar2.h:436:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/wchar2.h:440:30: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/wchar2.h:457:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/wchar2.h:461:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/wchar2.h:466:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/wchar2.h:474:24: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/wchar2.h:492:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/wchar2.h:496:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/wchar2.h:501:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/wchar2.h:508:24: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/wchar2.h:525:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/wchar2.h:529:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/wchar2.h:534:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/wchar2.h:542:24: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/wchar2.h:560:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/wchar2.h:565:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/wchar2.h:570:8: error: 'size_t' does not name a type
/usr/include/x86_64-linux-gnu/bits/wchar2.h:578:24: error: 'size_t' does not name a type
In file included from /usr/include/c++/4.6/bits/postypes.h:42:0,
                 from /usr/include/c++/4.6/bits/char_traits.h:42,
                 from /usr/include/c++/4.6/string:42,
                 from /usr/include/c++/4.6/random:41,
                 from /usr/include/c++/4.6/bits/stl_algo.h:67,
                 from /usr/include/c++/4.6/algorithm:63,
                 from invknapsack.cpp:13:
/usr/include/c++/4.6/cwchar:66:11: error: '::mbstate_t' has not been declared
/usr/include/c++/4.6/cwchar:153:11: error: '::mbrlen' has not been declared
/usr/include/c++/4.6/cwchar:154:11: error: '::mbrtowc' has not been declared
/usr/include/c++/4.6/cwchar:156:11: error: '::mbsrtowcs' has not been declared
/usr/include/c++/4.6/cwchar:178:11: error: '::wcrtomb' has not been declared
/usr/include/c++/4.6/cwchar:183:11: error: '::wcscspn' has not been declared
/usr/include/c++/4.6/cwchar:184:11: error: '::wcsftime' has not been declared
/usr/include/c++/4.6/cwchar:185:11: error: '::wcslen' has not been declared
/usr/include/c++/4.6/cwchar:189:11: error: '::wcsrtombs' has not been declared
/usr/include/c++/4.6/cwchar:190:11: error: '::wcsspn' has not been declared
/usr/include/c++/4.6/cwchar:198:11: error: '::wcsxfrm' has not been declared
In file included from /usr/include/c++/4.6/bits/char_traits.h:42:0,
                 from /usr/include/c++/4.6/string:42,
                 from /usr/include/c++/4.6/random:41,
                 from /usr/include/c++/4.6/bits/stl_algo.h:67,
                 from /usr/include/c++/4.6/algorithm:63,
                 from invknapsack.cpp:13:
/usr/include/c++/4.6/bits/postypes.h:230:16: error: 'mbstate_t' was not declared in this scope
/usr/include/c++/4.6/bits/postypes.h:230:25: error: template argument 1 is invalid
/usr/include/c++/4.6/bits/postypes.h:230:36: error: invalid type in declaration before ';' token
/usr/include/c++/4.6/bits/postypes.h:232:16: error: 'mbstate_t' was not declared in this scope
/usr/include/c++/4.6/bits/postypes.h:232:25: error: template argument 1 is invalid
/usr/include/c++/4.6/bits/postypes.h:232:37: error: invalid type in declaration before ';' token
/usr/include/c++/4.6/bits/postypes.h:236:16: error: 'mbstate_t' was not declared in this scope
/usr/include/c++/4.6/bits/postypes.h:236:25: error: template argument 1 is invalid
/usr/include/c++/4.6/bits/postypes.h:236:39: error: invalid type in declaration before ';' token
/usr/include/c++/4.6/bits/postypes.h:238:16: error: 'mbstate_t' was not declared in this scope
/usr/include/c++/4.6/bits/postypes.h:238:25: error: template argument 1 is invalid
/usr/include/c++/4.6/bits/postypes.h:238:39: error: invalid type in declaration before ';' token
In file included from /usr/include/c++/4.6/string:42:0,
                 from /usr/include/c++/4.6/random:41,
                 from /usr/include/c++/4.6/bits/stl_algo.h:67,
                 from /usr/include/c++/4.6/algorithm:63,
                 from invknapsack.cpp:13:
/usr/include/c++/4.6/bits/char_traits.h:65:15: error: 'mbstate_t' in namespace 'std' does not name a type
/usr/include/c++/4.6/bits/char_traits.h:241:15: error: 'mbstate_t' does not name a type
/usr/include/c++/4.6/bits/char_traits.h:312:15: error: 'mbstate_t' does not name a type
/usr/include/c++/4.6/bits/char_traits.h: In static member function 'static std::size_t std::char_traits<wchar_t>::length(const char_type*)':
/usr/include/c++/4.6/bits/char_traits.h:332:26: error: 'wcslen' was not declared in this scope
In file included from /usr/include/c++/4.6/string:42:0,
                 from /usr/include/c++/4.6/random:41,
                 from /usr/include/c++/4.6/bits/stl_algo.h:67,
                 from /usr/include/c++/4.6/algorithm:63,
                 from invknapsack.cpp:13:
/usr/include/c++/4.6/bits/char_traits.h: At global scope:
/usr/include/c++/4.6/bits/char_traits.h:391:15: error: 'mbstate_t' does not name a type
/usr/include/c++/4.6/bits/char_traits.h:484:15: error: 'mbstate_t' does not name a type
In file included from /usr/include/c++/4.6/cctype:44:0,
                 from /usr/include/c++/4.6/bits/localefwd.h:44,
                 from /usr/include/c++/4.6/string:45,
                 from /usr/include/c++/4.6/random:41,
                 from /usr/include/c++/4.6/bits/stl_algo.h:67,
                 from /usr/include/c++/4.6/algorithm:63,
                 from invknapsack.cpp:13:
/usr/include/ctype.h:83:16: error: '__int32_t' does not name a type
/usr/include/ctype.h:85:16: error: '__int32_t' does not name a type
In file included from /usr/include/c++/4.6/string:45:0,
                 from /usr/include/c++/4.6/random:41,
                 from /usr/include/c++/4.6/bits/stl_algo.h:67,
                 from /usr/include/c++/4.6/algorithm:63,
                 from invknapsack.cpp:13:
/usr/include/c++/4.6/bits/localefwd.h:135:40: error: 'mbstate_t' was not declared in this scope
/usr/include/c++/4.6/bits/localefwd.h:135:49: error: template argument 3 is invalid
/usr/include/c++/4.6/bits/localefwd.h:137:43: error: 'mbstate_t' was not declared in this scope
/usr/include/c++/4.6/bits/localefwd.h:137:52: error: template argument 3 is invalid
In file included from /usr/include/sched.h:43:0,
                 from /usr/include/pthread.h:25,
                 from /usr/include/c++/4.6/x86_64-linux-gnu/./bits/gthr-default.h:41,
                 from /usr/include/c++/4.6/x86_64-linux-gnu/./bits/gthr.h:170,
                 from /usr/include/c++/4.6/ext/atomicity.h:34,
                 from /usr/include/c++/4.6/bits/basic_string.h:41,
                 from /usr/include/c++/4.6/string:54,
                 from /usr/include/c++/4.6/random:41,
                 from /usr/include/c++/4.6/bits/stl_algo.h:67,
                 from /usr/include/c++/4.6/algorithm:63,
                 from invknapsack.cpp:13:
/usr/include/x86_64-linux-gnu/bits/sched.h:205:30: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/sched.h:205:30: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/x86_64-linux-gnu/bits/sched.h:205:48: error: expected primary-expression before 'const'
/usr/include/x86_64-linux-gnu/bits/sched.h:205:71: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/x86_64-linux-gnu/bits/sched.h:206:3: error: expected ',' or ';' before 'throw'
/usr/include/x86_64-linux-gnu/bits/sched.h:207:37: error: 'size_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/sched.h:207:37: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/x86_64-linux-gnu/bits/sched.h:207:53: error: expected ',' or ';' before 'throw'
In file included from /usr/include/pthread.h:25:0,
                 from /usr/include/c++/4.6/x86_64-linux-gnu/./bits/gthr-default.h:41,
                 from /usr/include/c++/4.6/x86_64-linux-gnu/./bits/gthr.h:170,
                 from /usr/include/c++/4.6/ext/atomicity.h:34,
                 from /usr/include/c++/4.6/bits/basic_string.h:41,
                 from /usr/include/c++/4.6/string:54,
                 from /usr/include/c++/4.6/random:41,
                 from /usr/include/c++/4.6/bits/stl_algo.h:67,
                 from /usr/include/c++/4.6/algorithm:63,
                 from invknapsack.cpp:13:
/usr/include/sched.h:51:28: error: '__pid_t' was not declared in this scope
/usr/include/sched.h:51:43: error: expected primary-expression before '__const'
/usr/include/sched.h:51:78: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/sched.h:52:6: error: expected ',' or ';' before 'throw'
/usr/include/sched.h:55:28: error: '__pid_t' was not declared in this scope
/usr/include/sched.h:55:43: error: expected primary-expression before 'struct'
/usr/include/sched.h:55:70: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/sched.h:55:72: error: expected ',' or ';' before 'throw'
/usr/include/sched.h:58:32: error: '__pid_t' was not declared in this scope
/usr/include/sched.h:58:47: error: expected primary-expression before 'int'
/usr/include/sched.h:59:11: error: expected primary-expression before '__const'
/usr/include/sched.h:59:46: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/sched.h:59:48: error: expected ',' or ';' before 'throw'
/usr/include/sched.h:62:32: error: '__pid_t' was not declared in this scope
/usr/include/sched.h:62:47: error: expected ',' or ';' before 'throw'
/usr/include/sched.h:74:35: error: '__pid_t' was not declared in this scope
/usr/include/sched.h:74:50: error: expected primary-expression before 'struct'
/usr/include/sched.h:74:70: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/sched.h:74:72: error: expected ',' or ';' before 'throw'
/usr/include/sched.h:118:31: error: '__pid_t' was not declared in this scope
/usr/include/sched.h:118:46: error: 'size_t' was not declared in this scope
/usr/include/sched.h:118:46: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/sched.h:119:10: error: expected primary-expression before '__const'
/usr/include/sched.h:119:37: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/sched.h:119:39: error: expected ',' or ';' before 'throw'
/usr/include/sched.h:122:31: error: '__pid_t' was not declared in this scope
/usr/include/sched.h:122:46: error: 'size_t' was not declared in this scope
/usr/include/sched.h:122:46: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
/usr/include/sched.h:123:20: error: expected primary-expression before '*' token
/usr/include/sched.h:123:21: error: '__cpuset' was not declared in this scope
/usr/include/sched.h:123:29: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/sched.h:123:31: error: expected ',' or ';' before 'throw'
In file included from /usr/include/time.h:42:0,
                 from /usr/include/pthread.h:26,
                 from /usr/include/c++/4.6/x86_64-linux-gnu/./bits/gthr-default.h:41,
                 from /usr/include/c++/4.6/x86_64-linux-gnu/./bits/gthr.h:170,
                 from /usr/include/c++/4.6/ext/atomicity.h:34,
                 from /usr/include/c++/4.6/bits/basic_string.h:41,
                 from /usr/include/c++/4.6/string:54,
                 from /usr/include/c++/4.6/random:41,
                 from /usr/include/c++/4.6/bits/stl_algo.h:67,
                 from /usr/include/c++/4.6/algorithm:63,
                 from invknapsack.cpp:13:
/usr/include/x86_64-linux-gnu/bits/time.h:91:27: error: '__clockid_t' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/time.h:91:51: error: expected primary-expression before 'struct'
/usr/include/x86_64-linux-gnu/bits/time.h:91:70: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/x86_64-linux-gnu/bits/time.h:91:72: error: expected ',' or ';' before 'throw'
In file included from /usr/include/pthread.h:26:0,
                 from /usr/include/c++/4.6/x86_64-linux-gnu/./bits/gthr-default.h:41,
                 from /usr/include/c++/4.6/x86_64-linux-gnu/./bits/gthr.h:170,
                 from /usr/include/c++/4.6/ext/atomicity.h:34,
                 from /usr/include/c++/4.6/bits/basic_string.h:41,
                 from /usr/include/c++/4.6/string:54,
                 from /usr/include/c++/4.6/random:41,
                 from /usr/include/c++/4.6/bits/stl_algo.h:67,
                 from /usr/include/c++/4.6/algorithm:63,
                 from invknapsack.cpp:13:
/usr/include/time.h:183:8: error: 'clock_t' does not name a type
/usr/include/time.h:186:8: error: 'time_t' does not name a type
/usr/include/time.h:189:25: error: 'time_t' was not declared in this scope
/usr/include/time.h:189:41: error: 'time_t' was not declared in this scope
/usr/include/time.h:189:55: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/time.h:190:6: error: expected ',' or ';' before 'throw'
/usr/include/time.h:193:8: error: 'time_t' does not name a type
/usr/include/time.h:199:8: error: 'size_t' does not name a type
/usr/include/time.h:217:8: error: 'size_t' does not name a type
/usr/include/time.h:233:35: error: 'time_t' does not name a type
/usr/include/time.h:237:38: error: 'time_t' does not name a type
/usr/include/time.h:243:37: error: 'time_t' does not name a type
/usr/include/time.h:248:40: error: 'time_t' does not name a type
/usr/include/time.h:258:29: error: 'time_t' does not name a type
/usr/include/time.h:270:31: error: 'time_t' does not name a type
/usr/include/time.h:298:27: error: 'time_t' does not name a type
/usr/include/time.h:313:8: error: 'time_t' does not name a type
/usr/include/time.h:316:8: error: 'time_t' does not name a type
/usr/include/time.h:333:26: error: 'clockid_t' was not declared in this scope
/usr/include/time.h:333:48: error: expected primary-expression before 'struct'
/usr/include/time.h:333:70: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/time.h:333:72: error: expected ',' or ';' before 'throw'
/usr/include/time.h:336:27: error: 'clockid_t' was not declared in this scope
/usr/include/time.h:336:49: error: expected primary-expression before 'struct'
/usr/include/time.h:336:70: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/time.h:336:72: error: expected ',' or ';' before 'throw'
/usr/include/time.h:339:27: error: 'clockid_t' was not declared in this scope
/usr/include/time.h:339:49: error: expected primary-expression before '__const'
/usr/include/time.h:339:78: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/time.h:340:6: error: expected ',' or ';' before 'throw'
/usr/include/time.h:347:29: error: 'clockid_t' was not declared in this scope
/usr/include/time.h:347:51: error: expected primary-expression before 'int'
/usr/include/time.h:348:8: error: expected primary-expression before '__const'
/usr/include/time.h:349:8: error: expected primary-expression before 'struct'
/usr/include/time.h:349:30: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/time.h:352:33: error: 'pid_t' was not declared in this scope
/usr/include/time.h:352:46: error: 'clockid_t' was not declared in this scope
/usr/include/time.h:352:57: error: '__clock_id' was not declared in this scope
/usr/include/time.h:352:67: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/time.h:352:69: error: expected ',' or ';' before 'throw'
/usr/include/time.h:357:26: error: 'clockid_t' was not declared in this scope
/usr/include/time.h:358:5: error: expected primary-expression before 'struct'
/usr/include/time.h:359:5: error: 'timer_t' was not declared in this scope
/usr/include/time.h:359:14: error: expected primary-expression before '__restrict'
/usr/include/time.h:359:34: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/time.h:359:36: error: expected ',' or ';' before 'throw'
/usr/include/time.h:362:26: error: 'timer_t' was not declared in this scope
/usr/include/time.h:362:45: error: expected ',' or ';' before 'throw'
/usr/include/time.h:365:27: error: 'timer_t' was not declared in this scope
/usr/include/time.h:365:46: error: expected primary-expression before 'int'
/usr/include/time.h:366:6: error: expected primary-expression before '__const'
/usr/include/time.h:367:6: error: expected primary-expression before 'struct'
/usr/include/time.h:367:44: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/time.h:367:46: error: expected ',' or ';' before 'throw'
/usr/include/time.h:370:27: error: 'timer_t' was not declared in this scope
/usr/include/time.h:370:46: error: expected primary-expression before 'struct'
/usr/include/time.h:370:72: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/time.h:371:6: error: expected ',' or ';' before 'throw'
/usr/include/time.h:374:30: error: 'timer_t' was not declared in this scope
/usr/include/time.h:374:49: error: expected ',' or ';' before 'throw'
In file included from /usr/include/c++/4.6/x86_64-linux-gnu/./bits/gthr-default.h:41:0,
                 from /usr/include/c++/4.6/x86_64-linux-gnu/./bits/gthr.h:170,
                 from /usr/include/c++/4.6/ext/atomicity.h:34,
                 from /usr/include/c++/4.6/bits/basic_string.h:41,
                 from /usr/include/c++/4.6/string:54,
                 from /usr/include/c++/4.6/random:41,
                 from /usr/include/c++/4.6/bits/stl_algo.h:67,
                 from /usr/include/c++/4.6/algorithm:63,
                 from invknapsack.cpp:13:
/usr/include/pthread.h:297:11: error: 'size_t' has not been declared
/usr/include/pthread.h:302:11: error: 'size_t' has not been declared
/usr/include/pthread.h:361:19: error: 'size_t' has not been declared
/usr/include/pthread.h:368:11: error: 'size_t' has not been declared
/usr/include/pthread.h:375:7: error: 'size_t' has not been declared
/usr/include/pthread.h:382:7: error: 'size_t' has not been declared
/usr/include/pthread.h:389:6: error: 'size_t' has not been declared
/usr/include/pthread.h:396:6: error: 'size_t' has not been declared
/usr/include/pthread.h:431:11: error: 'size_t' has not been declared
/usr/include/pthread.h:458:52: error: 'size_t' has not been declared
/usr/include/pthread.h:463:52: error: 'size_t' has not been declared
/usr/include/pthread.h:1013:11: error: '__clockid_t' has not been declared
/usr/include/pthread.h:1018:11: error: '__clockid_t' has not been declared
/usr/include/pthread.h:1113:7: error: '__clockid_t' has not been declared
In file included from /usr/include/c++/4.6/x86_64-linux-gnu/./bits/gthr-default.h:42:0,
                 from /usr/include/c++/4.6/x86_64-linux-gnu/./bits/gthr.h:170,
                 from /usr/include/c++/4.6/ext/atomicity.h:34,
                 from /usr/include/c++/4.6/bits/basic_string.h:41,
                 from /usr/include/c++/4.6/string:54,
                 from /usr/include/c++/4.6/random:41,
                 from /usr/include/c++/4.6/bits/stl_algo.h:67,
                 from /usr/include/c++/4.6/algorithm:63,
                 from invknapsack.cpp:13:
/usr/include/unistd.h:275:9: error: '__socklen_t' does not name a type
/usr/include/unistd.h:335:8: error: '__off_t' does not name a type
/usr/include/unistd.h:346:8: error: '__off64_t' does not name a type
/usr/include/unistd.h:361:8: error: 'ssize_t' does not name a type
/usr/include/unistd.h:367:8: error: 'ssize_t' does not name a type
/usr/include/unistd.h:377:8: error: 'ssize_t' does not name a type
/usr/include/unistd.h:385:8: error: 'ssize_t' does not name a type
/usr/include/unistd.h:405:8: error: 'ssize_t' does not name a type
/usr/include/unistd.h:409:8: error: 'ssize_t' does not name a type
/usr/include/unistd.h:453:8: error: '__useconds_t' does not name a type
/usr/include/unistd.h:461:20: error: '__useconds_t' was not declared in this scope
/usr/include/unistd.h:474:41: error: '__uid_t' has not been declared
/usr/include/unistd.h:474:58: error: '__gid_t' has not been declared
/usr/include/unistd.h:479:30: error: '__uid_t' has not been declared
/usr/include/unistd.h:479:47: error: '__gid_t' has not been declared
/usr/include/unistd.h:484:42: error: '__uid_t' has not been declared
/usr/include/unistd.h:484:59: error: '__gid_t' has not been declared
/usr/include/unistd.h:492:54: error: '__uid_t' has not been declared
/usr/include/unistd.h:493:8: error: '__gid_t' has not been declared
/usr/include/unistd.h:512:35: error: 'size_t' has not been declared
In file included from /usr/include/c++/4.6/x86_64-linux-gnu/./bits/gthr-default.h:42:0,
                 from /usr/include/c++/4.6/x86_64-linux-gnu/./bits/gthr.h:170,
                 from /usr/include/c++/4.6/ext/atomicity.h:34,
                 from /usr/include/c++/4.6/bits/basic_string.h:41,
                 from /usr/include/c++/4.6/string:54,
                 from /usr/include/c++/4.6/random:41,
                 from /usr/include/c++/4.6/bits/stl_algo.h:67,
                 from /usr/include/c++/4.6/algorithm:63,
                 from invknapsack.cpp:13:
/usr/include/unistd.h:624:8: error: 'size_t' does not name a type
/usr/include/unistd.h:629:8: error: '__pid_t' does not name a type
/usr/include/unistd.h:632:8: error: '__pid_t' does not name a type
/usr/include/unistd.h:637:8: error: '__pid_t' does not name a type
/usr/include/unistd.h:647:8: error: '__pid_t' does not name a type
/usr/include/unistd.h:649:8: error: '__pid_t' does not name a type
/usr/include/unistd.h:656:21: error: '__pid_t' was not declared in this scope
/usr/include/unistd.h:656:36: error: '__pid_t' was not declared in this scope
/usr/include/unistd.h:656:50: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/unistd.h:656:52: error: expected ',' or ';' before 'throw'
/usr/include/unistd.h:690:8: error: '__pid_t' does not name a type
/usr/include/unistd.h:694:8: error: '__pid_t' does not name a type
/usr/include/unistd.h:698:8: error: '__uid_t' does not name a type
/usr/include/unistd.h:701:8: error: '__uid_t' does not name a type
/usr/include/unistd.h:704:8: error: '__gid_t' does not name a type
/usr/include/unistd.h:707:8: error: '__gid_t' does not name a type
/usr/include/unistd.h:712:35: error: '__gid_t' has not been declared
/usr/include/unistd.h:716:26: error: '__gid_t' was not declared in this scope
/usr/include/unistd.h:716:41: error: expected ',' or ';' before 'throw'
/usr/include/unistd.h:723:20: error: '__uid_t' was not declared in this scope
/usr/include/unistd.h:723:35: error: expected ',' or ';' before 'throw'
/usr/include/unistd.h:728:22: error: '__uid_t' was not declared in this scope
/usr/include/unistd.h:728:38: error: '__uid_t' was not declared in this scope
/usr/include/unistd.h:728:52: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/unistd.h:728:54: error: expected ',' or ';' before 'throw'
/usr/include/unistd.h:733:21: error: '__uid_t' was not declared in this scope
/usr/include/unistd.h:733:36: error: expected ',' or ';' before 'throw'
/usr/include/unistd.h:740:20: error: '__gid_t' was not declared in this scope
/usr/include/unistd.h:740:35: error: expected ',' or ';' before 'throw'
/usr/include/unistd.h:745:22: error: '__gid_t' was not declared in this scope
/usr/include/unistd.h:745:38: error: '__gid_t' was not declared in this scope
/usr/include/unistd.h:745:52: er