0_0_11690915_7213.cpp:8: error: `int time[10008]' redeclared as different kind of symbol
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/time.h:85: error: previous declaration of `time_t time(time_t*)'
0_0_11690915_7213.cpp:8: error: declaration of `int time[10008]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/time.h:85: error: conflicts with previous declaration `time_t time(time_t*)'
0_0_11690915_7213.cpp: In function `void initg(int)':
0_0_11690915_7213.cpp:15: error: ISO C++ forbids applying `sizeof' to an expression of function type
0_0_11690915_7213.cpp:15: error: invalid conversion from `time_t (*)(time_t*)' to `void*'
0_0_11690915_7213.cpp:15: error: initializing argument 1 of `void* memset(void*, int, size_t)'
0_0_11690915_7213.cpp: In function `int find(int)':
0_0_11690915_7213.cpp:22: error: pointer to a function used in arithmetic
0_0_11690915_7213.cpp:22: error: pointer to a function used in arithmetic
0_0_11690915_7213.cpp:22: error: invalid operands of types `time_t ()(time_t*)' and `time_t ()(time_t*)' to binary `operator+'
0_0_11690915_7213.cpp:22: error: in evaluation of `operator+=(time_t ()(time_t*), time_t ()(time_t*))'
0_0_11690915_7213.cpp: In function `void union_set(int, int)':
0_0_11690915_7213.cpp:32: error: pointer to a function used in arithmetic
0_0_11690915_7213.cpp:32: error: ISO C++ forbids incrementing a pointer of type `time_t (*)(time_t*)'
0_0_11690915_7213.cpp:32: error: non-lvalue in increment
0_0_11690915_7213.cpp: In function `int main()':
0_0_11690915_7213.cpp:55: error: pointer to a function used in arithmetic
|