Borderou de evaluare (job #50538)
Utilizator | Data | 7 aprilie 2007 21:07:13 | |
---|---|---|---|
Problema | Descompuneri | 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:2:
/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:7: error: 'long long int div [2500]' redeclared as different kind of symbol
/usr/include/stdlib.h:793: error: previous declaration of 'div_t div(int, int)'
user.cpp: In function 'void desc()':
user.cpp:22: error: pointer to a function used in arithmetic
user.cpp:22: error: increment of read-only location
user.cpp:22: error: ISO C++ forbids incrementing a pointer of type 'div_t (*)(int, int)throw ()'
user.cpp:22: error: invalid lvalue in increment
user.cpp:23: error: pointer to a function used in arithmetic
user.cpp:23: error: invalid types 'div_t ()(int, int)throw ()[div_t ()(int, int)throw ()]' for array subscript
user.cpp:23: error: pointer to a function used in arithmetic
user.cpp:23: error: invalid types 'div_t ()(int, int)throw ()[div_t ()(int, int)throw ()]' for array subscript
user.cpp:24: error: pointer to a function used in arithmetic
user.cpp:24: error: increment of read-only location
user.cpp:24: error: ISO C++ forbids incrementing a pointer of type 'div_t (*)(int, int)throw ()'
user.cpp:24: error: invalid lvalue in increment
user.cpp:24: error: pointer to a function used in arithmetic
user.cpp:24: error: invalid types 'div_t ()(int, int)throw ()[div_t ()(int, int)throw ()]' for array subscript
user.cpp:28: error: pointer to a function used in arithmetic
user.cpp:28: error: pointer to a function used in arithmetic
user.cpp:28: error: invalid conversion from 'div_t (*)(int, int)throw ()' to 'long long int'
user.cpp:29: error: pointer to a function used in arithmetic
user.cpp:29: error: increment of read-only location
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !