( tombenko | 2013. 03. 18., h – 20:29 )

hbday.c:31:28: error: array type has incomplete element type
hbday.c:33:13: error: ‘no_argument’ undeclared here (not in a function)
hbday.c: In function ‘main’:
hbday.c:88:16: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
In file included from hbday.c:19:0:
/usr/include/stdio.h:356:12: note: expected ‘const char * __restrict__’ but argument is of type ‘int’
hbday.c:90:16: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
In file included from hbday.c:19:0:
/usr/include/stdio.h:356:12: note: expected ‘const char * __restrict__’ but argument is of type ‘int’
hbday.c: In function ‘print_version’:
hbday.c:102:34: error: ‘PACKAGE’ undeclared (first use in this function)
hbday.c:102:34: note: each undeclared identifier is reported only once for each function it appears in
hbday.c:102:43: error: ‘VERSION’ undeclared (first use in this function)
hbday.c: In function ‘print_help’:
hbday.c:108:3: warning: passing argument 1 of ‘printf’ makes pointer from integer without a cast [enabled by default]
In file included from hbday.c:19:0:
/usr/include/stdio.h:362:12: note: expected ‘const char * __restrict__’ but argument is of type ‘int’
hbday.c:110:1: warning: passing argument 1 of ‘fputs’ makes pointer from integer without a cast [enabled by default]
In file included from hbday.c:19:0:
/usr/include/stdio.h:689:12: note: expected ‘const char * __restrict__’ but argument is of type ‘int’
hbday.c:114:3: warning: passing argument 1 of ‘fputs’ makes pointer from integer without a cast [enabled by default]
In file included from hbday.c:19:0:
/usr/include/stdio.h:689:12: note: expected ‘const char * __restrict__’ but argument is of type ‘int’
hbday.c:122:64: error: expected ‘)’ before ‘;’ token
hbday.c:123:1: warning: passing argument 1 of ‘fputs’ makes pointer from integer without a cast [enabled by default]
In file included from hbday.c:19:0:
/usr/include/stdio.h:689:12: note: expected ‘const char * __restrict__’ but argument is of type ‘int’
hbday.c:123:1: error: too few arguments to function ‘fputs’
hbday.c:123:1: error: expected ‘;’ before ‘}’ token
hbday.c: In function ‘print_copyleft’:
hbday.c:131:13: warning: missing terminating " character [enabled by default]
hbday.c:131:3: error: missing terminating " character
hbday.c:134:1: error: expected expression before ‘<’ token
hbday.c:137:22: error: expected ‘)’ before ‘;’ token
hbday.c:138:1: error: expected ‘;’ before ‘}’ token
hbday.c: In function ‘happy_birthday’:
hbday.c:143:3: warning: passing argument 1 of ‘printf’ makes pointer from integer without a cast [enabled by default]
In file included from hbday.c:19:0:
/usr/include/stdio.h:362:12: note: expected ‘const char * __restrict__’ but argument is of type ‘int’
:)
--
Fight / For The Freedom / Fighting With Steel