Borderou de evaluare (job #457466)
Utilizator | Data | 19 mai 2010 19:53:37 | |
---|---|---|---|
Problema | Misiune | Status | done |
Runda | teme_upb | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/4.2/backward/heap.h:58,
from user.cpp:85:
/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.
In file included from /usr/include/c++/4.2/backward/heap.h:60,
from user.cpp:85:
/usr/include/c++/4.2/bits/stl_heap.h: In function 'bool std::__is_heap(_RandomAccessIterator, _RandomAccessIterator)':
/usr/include/c++/4.2/bits/stl_heap.h:105: error: 'distance' is not a member of 'std'
/usr/include/c++/4.2/bits/stl_heap.h: In function 'bool std::__is_heap(_RandomAccessIterator, _RandomAccessIterator, _StrictWeakOrdering)':
/usr/include/c++/4.2/bits/stl_heap.h:111: error: 'distance' is not a member of 'std'
/usr/include/c++/4.2/bits/stl_heap.h: In function 'void std::push_heap(_RandomAccessIterator, _RandomAccessIterator)':
/usr/include/c++/4.2/bits/stl_heap.h:143: error: expected nested-name-specifier before 'iterator_traits'
/usr/include/c++/4.2/bits/stl_heap.h:143: error: expected initializer before '<' token
/usr/include/c++/4.2/bits/stl_heap.h:145: error: expected nested-name-specifier before 'iterator_traits'
/usr/include/c++/4.2/bits/stl_heap.h:145: error: expected initializer before '<' token
/usr/include/c++/4.2/bits/stl_heap.h:149: error: '_Mutable_RandomAccessIteratorConcept' was not declared in this scope
/usr/include/c++/4.2/bits/stl_heap.h:150: error: expected primary-expression before '>' token
/usr/include/c++/4.2/bits/stl_heap.h:150: error: expected primary-expression before ')' token
/usr/include/c++/4.2/bits/stl_heap.h:150: error: there are no arguments to '__glibcxx_function_requires' that depend on a template parameter, so a declaration of '__glibcxx_function_requires' must be available
/usr/include/c++/4.2/bits/stl_heap.h:150: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/include/c++/4.2/bits/stl_heap.h:151: error: expected `;' before '__glibcxx_function_requires'
/usr/include/c++/4.2/bits/stl_heap.h:156: error: there are no arguments to '_DistanceType' that depend on a template parameter, so a declaration of '_DistanceType' must be available
/usr/include/c++/4.2/bits/stl_heap.h: In function 'void std::push_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare)':
/usr/include/c++/4.2/bits/stl_heap.h:192: error: expected nested-name-specifier before 'iterator_traits'
/usr/include/c++/4.2/bits/stl_heap.h:192: error: expected initializer before '<' token
/usr/include/c++/4.2/bits/stl_heap.h:194: error: expected nested-name-specifier before 'iterator_traits'
/usr/include/c++/4.2/bits/stl_heap.h:194: error: expected initializer before '<' token
/usr/include/c++/4.2/bits/stl_heap.h:198: error: '_Mutable_RandomAccessIteratorConcept' was not declared in this scope
/usr/include/c++/4.2/bits/stl_heap.h:199: error: expected primary-expression before '>' token
/usr/include/c++/4.2/bits/stl_heap.h:199: error: expected primary-expression before ')' token
/usr/include/c++/4.2/bits/stl_heap.h:199: error: there are no arguments to '__glibcxx_function_requires' that depend on a template parameter, so a declaration of '__glibcxx_function_requires' must be available
/usr/include/c++/4.2/bits/stl_heap.h:204: error: there are no arguments to '_DistanceType' that depend on a template parameter, so a declaration of '_DistanceType' must be available
/usr/include/c++/4.2/bits/stl_heap.h: In function 'void std::__pop_heap(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Tp)':
/usr/include/c++/4.2/bits/stl_heap.h:235: error: expected nested-name-specifier before 'iterator_traits'
/usr/include/c++/4.2/bits/stl_heap.h:235: error: expected initializer before '<' token
/usr/include/c++/4.2/bits/stl_heap.h:238: error: there are no arguments to '_Distance' that depend on a template parameter, so a declaration of '_Distance' must be available
/usr/include/c++/4.2/bits/stl_heap.h: In function 'void std::pop_heap(_RandomAccessIterator, _RandomAccessIterator)':
/usr/include/c++/4.2/bits/stl_heap.h:255: error: expected nested-name-specifier before 'iterator_traits'
/usr/include/c++/4.2/bits/stl_heap.h:255: error: expected initializer before '<' token
/usr/include/c++/4.2/bits/stl_heap.h:259: error: '_Mutable_RandomAccessIteratorConcept' was not declared in this scope
/usr/include/c++/4.2/bits/stl_heap.h:260: error: expected primary-expression before '>' token
/usr/include/c++/4.2/bits/stl_heap.h:260: error: expected primary-expression before ')' token
/usr/include/c++/4.2/bits/stl_heap.h:260: error: there are no arguments to '__glibcxx_function_requires' that depend on a template parameter, so a declaration of '__glibcxx_function_requires' must be available
/usr/include/c++/4.2/bits/stl_heap.h:261: error: expected `;' before '__glibcxx_function_requires'
/usr/include/c++/4.2/bits/stl_heap.h: In function 'void std::__pop_heap(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Tp, _Compare)':
/usr/include/c++/4.2/bits/stl_heap.h:299: error: expected nested-name-specifier before 'iterator_traits'
/usr/include/c++/4.2/bits/stl_heap.h:299: error: expected initializer before '<' token
/usr/include/c++/4.2/bits/stl_heap.h:302: error: there are no arguments to '_Distance' that depend on a template parameter, so a declaration of '_Distance' must be available
/usr/include/c++/4.2/bits/stl_heap.h: In function 'void std::pop_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare)':
/usr/include/c++/4.2/bits/stl_heap.h:323: error: '_Mutable_RandomAccessIteratorConcept' was not declared in this scope
/usr/include/c++/4.2/bits/stl_heap.h:324: error: expected primary-expression before '>' token
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !