0_0_4461776_22595.cpp:31: error: `int time[500005]' 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_4461776_22595.cpp:31: error: declaration of `int time[500005]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/time.h:85: error: conflicts with previous declaration `time_t time(time_t*)'
0_0_4461776_22595.cpp: In function `int mymin(int, int, int)':
0_0_4461776_22595.cpp:104: error: pointer to a function used in arithmetic
0_0_4461776_22595.cpp:104: error: pointer to a function used in arithmetic
0_0_4461776_22595.cpp: In function `int main()':
0_0_4461776_22595.cpp:138: error: pointer to a function used in arithmetic
0_0_4461776_22595.cpp:149: error: pointer to a function used in arithmetic
0_0_4461776_22595.cpp:149: error: assignment of read-only location
0_0_4461776_22595.cpp:149: error: cannot convert `int' to `time_t ()(time_t*)' in assignment
0_0_4461776_22595.cpp:157: error: pointer to a function used in arithmetic
0_0_4461776_22595.cpp:172: error: pointer to a function used in arithmetic
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_4461776_22595.cpp:138: 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
|