Borderou de evaluare (job #308324)

Utilizator andrici_cezarAndrici Cezar andrici_cezar Data 26 aprilie 2009 19:48:28
Problema Gropi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/4.2/backward/fstream.h:31, from user.cpp:1: /usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. user.cpp:54:2: warning: no newline at end of file user.cpp:3: error: 'long int time' redeclared as different kind of symbol /usr/include/time.h:187: error: previous declaration of 'time_t time(time_t*)' user.cpp: In function 'int main()': user.cpp:19: error: assignment of function 'time_t time(time_t*)' user.cpp:19: error: cannot convert 'int' to 'time_t ()(time_t*)throw ()' in assignment user.cpp:47: error: ISO C++ forbids incrementing a pointer of type 'time_t (*)(time_t*)throw ()' user.cpp:47: error: lvalue required as increment operand user.cpp:48: error: ISO C++ forbids incrementing a pointer of type 'time_t (*)(time_t*)throw ()' user.cpp:48: error: lvalue required as increment operand user.cpp:50: warning: the address of 'time_t time(time_t*)' will always evaluate as 'true'

Ceva nu functioneaza?