Borderou de evaluare (job #56355)

Utilizator info_arrandrei gigea info_arr Data 29 aprilie 2007 14:19:19
Problema Luna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/backward/fstream.h:31, from user.cpp:6: /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.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:103:13: warning: no newline at end of file user.cpp:18: error: 'int write' redeclared as different kind of symbol /usr/include/unistd.h:318: error: previous declaration of 'ssize_t write(int, const void*, size_t)' user.cpp: In function 'int main()': user.cpp:80: error: assignment of function 'ssize_t write(int, const void*, size_t)' user.cpp:80: error: cannot convert 'int' to 'ssize_t ()(int, const void*, size_t)' in assignment user.cpp:85: error: assignment of function 'ssize_t write(int, const void*, size_t)' user.cpp:85: error: cannot convert 'int' to 'ssize_t ()(int, const void*, size_t)' in assignment

Ceva nu functioneaza?