Borderou de evaluare (job #2147467)
Utilizator | Data | 28 februarie 2018 19:25:16 | |
---|---|---|---|
Problema | Cifra | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:2:1: error: expected unqualified-id before numeric constant
1
^
In file included from /usr/include/c++/5/iosfwd:40:0,
from /usr/include/c++/5/ios:38,
from /usr/include/c++/5/ostream:38,
from /usr/include/c++/5/iostream:39,
from user.cpp:57:
/usr/include/c++/5/bits/postypes.h:98:11: error: ‘ptrdiff_t’ does not name a type
typedef ptrdiff_t streamsize; // Signed integral type
^
In file included from /usr/include/c++/5/exception:162:0,
from /usr/include/c++/5/ios:39,
from /usr/include/c++/5/ostream:38,
from /usr/include/c++/5/iostream:39,
from user.cpp:57:
/usr/include/c++/5/bits/exception_ptr.h:95:30: error: field ‘nullptr_t’ has incomplete type ‘std::__exception_ptr::exception_ptr’
exception_ptr(nullptr_t) noexcept
^
/usr/include/c++/5/bits/exception_ptr.h:75:11: note: definition of ‘class std::__exception_ptr::exception_ptr’ is not complete until the closing brace
class exception_ptr
^
/usr/include/c++/5/bits/exception_ptr.h:95:30: error: expected ‘;’ at end of member declaration
exception_ptr(nullptr_t) noexcept
^
/usr/include/c++/5/bits/exception_ptr.h:95:32: error: expected unqualified-id before ‘noexcept’
exception_ptr(nullptr_t) noexcept
^
In file included from /usr/include/c++/5/bits/stl_algobase.h:62:0,
from /usr/include/c++/5/bits/char_traits.h:39,
from /usr/include/c++/5/ios:40,
from /usr/include/c++/5/ostream:38,
from /usr/include/c++/5/iostream:39,
from user.cpp:57:
/usr/include/c++/5/ext/type_traits.h:160:35: error: ‘__gnu_cxx::__is_null_pointer’ declared as an ‘inline’ variable
__is_null_pointer(std::nullptr_t)
^
/usr/include/c++/5/ext/type_traits.h:160:35: error: ‘bool __gnu_cxx::__is_null_pointer’ redeclared as different kind of symbol
/usr/include/c++/5/ext/type_traits.h:155:5: note: previous declaration ‘template<class _Type> bool __gnu_cxx::__is_null_pointer(_Type)’
__is_null_pointer(_Type)
^
/usr/include/c++/5/ext/type_traits.h:160:21: error: ‘nullptr_t’ is not a member of ‘std’
__is_null_pointer(std::nullptr_t)
^
In file included from /usr/include/c++/5/bits/move.h:57:0,
from /usr/include/c++/5/bits/stl_pair.h:59,
from /usr/include/c++/5/bits/stl_algobase.h:64,
from /usr/include/c++/5/bits/char_traits.h:39,
from /usr/include/c++/5/ios:40,
from /usr/include/c++/5/ostream:38,
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !