0_0_5274699_5565.cpp:4: error: `int time[2010]' 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_5274699_5565.cpp:4: error: declaration of `int time[2010]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/time.h:85: error: conflicts with previous declaration `time_t time(time_t*)'
0_0_5274699_5565.cpp: In function `int main()':
0_0_5274699_5565.cpp:12: error: pointer to a function used in arithmetic
0_0_5274699_5565.cpp:12: error: pointer to a function used in arithmetic
0_0_5274699_5565.cpp:12: error: pointer to a function used in arithmetic
0_0_5274699_5565.cpp:27: error: pointer to a function used in arithmetic
0_0_5274699_5565.cpp:27: error: ISO C++ forbids incrementing a pointer of type `time_t (*)(time_t*)'
0_0_5274699_5565.cpp:27: error: non-lvalue in increment
0_0_5274699_5565.cpp:39: error: pointer to a function used in arithmetic
0_0_5274699_5565.cpp:39: error: ISO C++ forbids comparison between pointer and integer
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h: In function `void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = time_t (*)(time_t*), _Tp = int]':
0_0_5274699_5565.cpp:12: instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:523: error: ISO C++ forbids incrementing a pointer of type `time_t (*)(time_t*)'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:524: error: assignment of read-only location
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:524: error: cannot convert `const int' to `time_t ()(time_t*)' in assignment
|