|
From: Niels R. <n.r...@pl...> - 2001-08-17 18:07:57
|
My compiler was very clear about rootwrapper ...
rootwrapper.c:1: parse error before `/'
In file included from rootwrapper.c:13:
/usr/include/unistd.h:310: parse error before `size_t'
/usr/include/unistd.h:313: parse error before `size_t'
/usr/include/unistd.h:423: parse error before `size_t'
In file included from rootwrapper.c:13:
/usr/include/unistd.h:513: parse error before `confstr'
/usr/include/unistd.h:513: parse error before `size_t'
/usr/include/unistd.h:513: ANSI C forbids data definition with no type or
storage class
/usr/include/unistd.h:664: parse error before `size_t'
/usr/include/unistd.h:689: parse error before `size_t'
In file included from rootwrapper.c:13:
/usr/include/unistd.h:739: parse error before `size_t'
/usr/include/unistd.h:749: parse error before `size_t'
/usr/include/unistd.h:750: parse error before `size_t'
/usr/include/unistd.h:767: parse error before `size_t'
In file included from rootwrapper.c:14:
/usr/include/string.h:38: parse error before `size_t'
/usr/include/string.h:41: parse error before `size_t'
/usr/include/string.h:49: parse error before `size_t'
/usr/include/string.h:55: parse error before `size_t'
/usr/include/string.h:58: parse error before `size_t'
/usr/include/string.h:62: parse error before `size_t'
/usr/include/string.h:81: parse error before `size_t'
/usr/include/string.h:88: parse error before `size_t'
/usr/include/string.h:94: parse error before `size_t'
/usr/include/string.h:101: parse error before `strxfrm'
/usr/include/string.h:102: parse error before `size_t'
/usr/include/string.h:102: ANSI C forbids data definition with no type or
storage class
/usr/include/string.h:167: parse error before `strcspn'
/usr/include/string.h:168: ANSI C forbids data definition with no type or
storage class
/usr/include/string.h:171: parse error before `strspn'
/usr/include/string.h:172: ANSI C forbids data definition with no type or
storage class
/usr/include/string.h:218: parse error before `strlen'
/usr/include/string.h:218: ANSI C forbids data definition with no type or
storage class
/usr/include/string.h:233: parse error before `size_t'
/usr/include/string.h:238: parse error before `size_t'
/usr/include/string.h:242: parse error before `size_t'
/usr/include/string.h:245: parse error before `size_t'
/usr/include/string.h:248: parse error before `size_t'
/usr/include/string.h:276: parse error before `size_t'
In file included from /usr/include/string.h:359,
from rootwrapper.c:14:
/usr/include/bits/string2.h:396: parse error before `size_t'
/usr/include/bits/string2.h:401: parse error before `size_t'
/usr/include/bits/string2.h:402: warning: no previous prototype for
`__strcpy_small'
/usr/include/bits/string2.h: In function `__strcpy_small':
/usr/include/bits/string2.h:407: `__dest' undeclared (first use in this
function)
/usr/include/bits/string2.h:407: (Each undeclared identifier is reported only
once
/usr/include/bits/string2.h:407: for each function it appears in.)
/usr/include/bits/string2.h:408: `__srclen' undeclared (first use in this
function)
/usr/include/bits/string2.h:414: `__src0_2' undeclared (first use in this
function)
/usr/include/bits/string2.h:422: `__src0_4' undeclared (first use in this
function)
/usr/include/bits/string2.h:432: `__src4_2' undeclared (first use in this
function)
/usr/include/bits/string2.h:444: `__src4_4' undeclared (first use in this
function)
/usr/include/bits/string2.h:411: warning: unreachable code at beginning of
switch statement
/usr/include/bits/string2.h:448: warning: control reaches end of non-void
function
/usr/include/bits/string2.h: At top level:
/usr/include/bits/string2.h:873: parse error before `__strcspn_c1'
/usr/include/bits/string2.h:873: ANSI C forbids data definition with no type
or storage class
/usr/include/bits/string2.h:875: parse error before `__strcspn_c1'
/usr/include/bits/string2.h: In function `__strcspn_c1':
/usr/include/bits/string2.h:877: warning: ANSI C forbids nested functions
/usr/include/bits/string2.h:877: syntax error before `__result'
/usr/include/bits/string2.h:878: `__result' undeclared (first use in this
function)
/usr/include/bits/string2.h:881: warning: control reaches end of non-void
function
/usr/include/bits/string2.h: At top level:
/usr/include/bits/string2.h:883: parse error before `__strcspn_c2'
/usr/include/bits/string2.h:884: ANSI C forbids data definition with no type
or storage class
/usr/include/bits/string2.h:886: parse error before `__strcspn_c2'
/usr/include/bits/string2.h: In function `__strcspn_c2':
/usr/include/bits/string2.h:888: warning: ANSI C forbids nested functions
/usr/include/bits/string2.h:888: syntax error before `__result'
/usr/include/bits/string2.h:889: `__result' undeclared (first use in this
function)
/usr/include/bits/string2.h:893: warning: control reaches end of non-void
function
/usr/include/bits/string2.h: At top level:
/usr/include/bits/string2.h:895: parse error before `__strcspn_c3'
/usr/include/bits/string2.h:896: ANSI C forbids data definition with no type
or storage class
/usr/include/bits/string2.h:898: parse error before `__strcspn_c3'
/usr/include/bits/string2.h: In function `__strcspn_c3':
/usr/include/bits/string2.h:901: warning: ANSI C forbids nested functions
/usr/include/bits/string2.h:901: syntax error before `__result'
/usr/include/bits/string2.h:902: `__result' undeclared (first use in this
function)
/usr/include/bits/string2.h:906: warning: control reaches end of non-void
function
/usr/include/bits/string2.h: At top level:
/usr/include/bits/string2.h:928: parse error before `__strspn_c1'
/usr/include/bits/string2.h:928: ANSI C forbids data definition with no type
or storage class
/usr/include/bits/string2.h:930: parse error before `__strspn_c1'
/usr/include/bits/string2.h: In function `__strspn_c1':
/usr/include/bits/string2.h:932: warning: ANSI C forbids nested functions
/usr/include/bits/string2.h:932: syntax error before `__result'
/usr/include/bits/string2.h:934: `__result' undeclared (first use in this
function)
/usr/include/bits/string2.h:937: warning: control reaches end of non-void
function
/usr/include/bits/string2.h: At top level:
/usr/include/bits/string2.h:939: parse error before `__strspn_c2'
/usr/include/bits/string2.h:940: ANSI C forbids data definition with no type
or storage class
/usr/include/bits/string2.h:942: parse error before `__strspn_c2'
/usr/include/bits/string2.h: In function `__strspn_c2':
/usr/include/bits/string2.h:944: warning: ANSI C forbids nested functions
/usr/include/bits/string2.h:944: syntax error before `__result'
/usr/include/bits/string2.h:946: `__result' undeclared (first use in this
function)
/usr/include/bits/string2.h:949: warning: control reaches end of non-void
function
/usr/include/bits/string2.h: At top level:
/usr/include/bits/string2.h:951: parse error before `__strspn_c3'
/usr/include/bits/string2.h:952: ANSI C forbids data definition with no type
or storage class
/usr/include/bits/string2.h:954: parse error before `__strspn_c3'
/usr/include/bits/string2.h: In function `__strspn_c3':
/usr/include/bits/string2.h:956: warning: ANSI C forbids nested functions
/usr/include/bits/string2.h:956: syntax error before `__result'
/usr/include/bits/string2.h:958: `__result' undeclared (first use in this
function)
/usr/include/bits/string2.h:962: warning: control reaches end of non-void
function
/usr/include/bits/string2.h: In function `__strpbrk_c2':
/usr/include/bits/string2.h:991: `size_t' undeclared (first use in this
function)
/usr/include/bits/string2.h:991: parse error before `__s'
/usr/include/bits/string2.h:992: warning: control reaches end of non-void
function
/usr/include/bits/string2.h: In function `__strpbrk_c3':
/usr/include/bits/string2.h:1004: `size_t' undeclared (first use in this
function)
/usr/include/bits/string2.h:1004: parse error before `__s'
/usr/include/bits/string2.h:1005: warning: control reaches end of non-void
function
/usr/include/bits/string2.h: In function `__strsep_g':
/usr/include/bits/string2.h:1172: `size_t' undeclared (first use in this
function)
/usr/include/bits/string2.h:1172: parse error before `const'
/usr/include/bits/string2.h:1172: parse error before `const'
/usr/include/bits/string2.h:1172: parse error before `)'
/usr/include/bits/string2.h:1172: warning: unused variable `__a2'
/usr/include/bits/string2.h:1172: warning: unused variable `__a1'
/usr/include/bits/string2.h:1172: warning: unused variable `__a0'
/usr/include/bits/string2.h:1172: void value not ignored as it ought to be
In file included from /usr/include/bits/string2.h:1188,
from /usr/include/string.h:359,
from rootwrapper.c:14:
/usr/include/stdlib.h: At top level:
/usr/include/stdlib.h:528: parse error before `__size'
/usr/include/stdlib.h:530: parse error before `__nmemb'
In file included from /usr/include/string.h:359,
from rootwrapper.c:14:
/usr/include/bits/string2.h:1212: parse error before `size_t'
rootwrapper.c:17: warning: no previous prototype for `start_app'
rootwrapper.c:25: warning: no previous prototype for `fork_off'
rootwrapper.c: In function `main':
rootwrapper.c:44: `size_t' undeclared (first use in this function)
rootwrapper.c:44: parse error before `__s1_len'
rootwrapper.c:44: `__s1_len' undeclared (first use in this function)
rootwrapper.c:44: `__s2_len' undeclared (first use in this function)
rootwrapper.c:44: parse error before `const'
rootwrapper.c:44: parse error before `const'
rootwrapper.c:44: warning: left-hand operand of comma expression has no effect
rootwrapper.c:44: warning: left-hand operand of comma expression has no effect
rootwrapper.c:44: parse error before `const'
rootwrapper.c:44: parse error before `const'
rootwrapper.c:44: parse error before `)'
rootwrapper.c:44: `__result' undeclared (first use in this function)
rootwrapper.c:44: parse error before `:'
rootwrapper.c:44: warning: empty body in an if-statement
rootwrapper.c:44: `__s2' undeclared (first use in this function)
rootwrapper.c:44: warning: control reaches end of non-void function
rootwrapper.c: At top level:
rootwrapper.c:44: parse error before `)'
rootwrapper.c:44: warning: type defaults to `int' in declaration of `__result'
rootwrapper.c:44: `__result' used prior to declaration
rootwrapper.c:44: ANSI C forbids data definition with no type or storage class
rootwrapper.c:44: parse error before `}'
rootwrapper.c:44: conflicting declarations of `__result'
rootwrapper.c:44: `__result' previously declared here
rootwrapper.c:44: `__s1' undeclared here (not in a function)
rootwrapper.c:44: `argv' undeclared here (not in a function)
rootwrapper.c:44: initializer element is not constant
rootwrapper.c:44: parse error before `if'
rootwrapper.c:44: warning: type defaults to `int' in declaration of `__result'
rootwrapper.c:44: conflicting declarations of `__result'
rootwrapper.c:44: `__result' previously defined here
rootwrapper.c:44: ANSI C forbids data definition with no type or storage class
rootwrapper.c:44: parse error before `}'
rootwrapper.c:52: parse error before string constant
rootwrapper.c:52: warning: type defaults to `int' in declaration of `__result'
rootwrapper.c:52: ANSI C forbids data definition with no type or storage class
rootwrapper.c:52: parse error before `}'
rootwrapper.c:52: redefinition of `__result'
rootwrapper.c:44: `__result' previously defined here
rootwrapper.c:52: `__s2' undeclared here (not in a function)
rootwrapper.c:52: initializer element is not constant
rootwrapper.c:52: parse error before `if'
rootwrapper.c:52: warning: type defaults to `int' in declaration of `__result'
rootwrapper.c:52: conflicting declarations of `__result'
rootwrapper.c:52: `__result' previously defined here
rootwrapper.c:52: ANSI C forbids data definition with no type or storage class
rootwrapper.c:52: parse error before `}'
rootwrapper.c:52: warning: type defaults to `int' in declaration of `__result'
rootwrapper.c:52: ANSI C forbids data definition with no type or storage class
rootwrapper.c:52: parse error before `}'
rootwrapper.c:52: redefinition of `__result'
rootwrapper.c:52: `__result' previously defined here
rootwrapper.c:52: `__s1' undeclared here (not in a function)
rootwrapper.c:52: `argv' undeclared here (not in a function)
rootwrapper.c:52: initializer element is not constant
rootwrapper.c:52: parse error before `if'
rootwrapper.c:52: warning: type defaults to `int' in declaration of `__result'
rootwrapper.c:52: conflicting declarations of `__result'
rootwrapper.c:52: `__result' previously defined here
rootwrapper.c:52: ANSI C forbids data definition with no type or storage class
rootwrapper.c:52: parse error before `}'
rootwrapper.c:68: parse error before string constant
rootwrapper.c:68: warning: type defaults to `int' in declaration of `__result'
rootwrapper.c:68: ANSI C forbids data definition with no type or storage class
rootwrapper.c:68: parse error before `}'
rootwrapper.c:68: redefinition of `__result'
rootwrapper.c:52: `__result' previously defined here
rootwrapper.c:68: `__s2' undeclared here (not in a function)
rootwrapper.c:68: initializer element is not constant
rootwrapper.c:68: parse error before `if'
rootwrapper.c:68: warning: type defaults to `int' in declaration of `__result'
rootwrapper.c:68: conflicting declarations of `__result'
rootwrapper.c:68: `__result' previously defined here
rootwrapper.c:68: ANSI C forbids data definition with no type or storage class
rootwrapper.c:68: parse error before `}'
rootwrapper.c:68: warning: type defaults to `int' in declaration of `__result'
rootwrapper.c:68: ANSI C forbids data definition with no type or storage class
rootwrapper.c:68: parse error before `}'
rootwrapper.c:68: redefinition of `__result'
rootwrapper.c:68: `__result' previously defined here
rootwrapper.c:68: `__s1' undeclared here (not in a function)
rootwrapper.c:68: `argv' undeclared here (not in a function)
rootwrapper.c:68: initializer element is not constant
rootwrapper.c:68: parse error before `if'
rootwrapper.c:68: warning: type defaults to `int' in declaration of `__result'
rootwrapper.c:68: conflicting declarations of `__result'
rootwrapper.c:68: `__result' previously defined here
rootwrapper.c:68: ANSI C forbids data definition with no type or storage class
rootwrapper.c:68: parse error before `}'
rootwrapper.c:76: parse error before string constant
rootwrapper.c:76: warning: type defaults to `int' in declaration of `__result'
rootwrapper.c:76: ANSI C forbids data definition with no type or storage class
rootwrapper.c:76: parse error before `}'
rootwrapper.c:76: redefinition of `__result'
rootwrapper.c:68: `__result' previously defined here
rootwrapper.c:76: `__s2' undeclared here (not in a function)
rootwrapper.c:76: initializer element is not constant
rootwrapper.c:76: parse error before `if'
rootwrapper.c:76: warning: type defaults to `int' in declaration of `__result'
rootwrapper.c:76: conflicting declarations of `__result'
rootwrapper.c:76: `__result' previously defined here
rootwrapper.c:76: ANSI C forbids data definition with no type or storage class
rootwrapper.c:76: parse error before `}'
rootwrapper.c:76: warning: type defaults to `int' in declaration of `__result'
rootwrapper.c:76: ANSI C forbids data definition with no type or storage class
rootwrapper.c:76: parse error before `}'
rootwrapper.c:76: redefinition of `__result'
rootwrapper.c:76: `__result' previously defined here
rootwrapper.c:76: `__s1' undeclared here (not in a function)
rootwrapper.c:76: `argv' undeclared here (not in a function)
rootwrapper.c:76: initializer element is not constant
rootwrapper.c:76: parse error before `if'
rootwrapper.c:76: warning: type defaults to `int' in declaration of `__result'
rootwrapper.c:76: conflicting declarations of `__result'
rootwrapper.c:76: `__result' previously defined here
rootwrapper.c:76: ANSI C forbids data definition with no type or storage class
rootwrapper.c:76: parse error before `}'
Niels
--
Ga eens wat vaker met de metro
|