Compile errors of current CVS

Saulo Soares de Toledo saulotoledo at gmail.com
Sun Jul 26 22:34:06 UTC 2009


Sorry, I pasted the wrong error for KDevelop. This is the correct:

[ 71%] Building CXX object
tools/coverage/tests/CMakeFiles/gcov-unit-annotationmanager.dir/annotationmanagertest.o
/home/saulo/Desktop/kdevelop/kdevelop/tools/coverage/tests/annotationmanagertest.cpp:
In member function ‘void
Veritas::AnnotationManagerTest::initTestCase()’:
/home/saulo/Desktop/kdevelop/kdevelop/tools/coverage/tests/annotationmanagertest.cpp:65:
error: cannot allocate an object of abstract type ‘TestStubs::Core’
/home/saulo/Desktop/kdevelop/kdevelop/tools/coverage/tests/corestub.h:44:
note:   because the following virtual functions are pure within
‘TestStubs::Core’:
/usr/include/kdevplatform/interfaces/icore.h:94: note:  virtual
KParts::PartManager* KDevelop::ICore::partController()
/home/saulo/Desktop/kdevelop/kdevelop/tools/coverage/tests/annotationmanagertest.cpp:
At global scope:
/home/saulo/Desktop/kdevelop/kdevelop/tools/coverage/tests/annotationmanagertest.cpp:283:
warning: unused parameter ‘f’
make[2]: ** [tools/coverage/tests/CMakeFiles/gcov-unit-annotationmanager.dir/annotationmanagertest.o]
Erro 1
make[1]: ** [tools/coverage/tests/CMakeFiles/gcov-unit-annotationmanager.dir/all]
Erro 2
make: ** [all] Erro 2




2009/7/26, Saulo Soares de Toledo <saulotoledo at gmail.com>:
> I updated to last CVS version. In KDevelop I receive (with or without
> -Wall):
>
> [ 71%] Building CXX object
> languages/cpp/tests/CMakeFiles/cppcodecompletiontest.dir/__/codegen/simplerefactoring.o
> Linking CXX executable cppcodecompletiontest
> CMake Error at /usr/share/kde4/apps/cmake/modules/kde4_exec_via_sh.cmake:10
> (file):
>   file Internal CMake error when trying to open file:
>
> /home/saulo/Desktop/kdevelop/kdevelop/build/languages/cpp/tests/cppcodecompletiontest.shell
>   for writing.
>
>
> make[2]: ** [languages/cpp/tests/cppcodecompletiontest] Erro 1
> make[1]: ** [languages/cpp/tests/CMakeFiles/cppcodecompletiontest.dir/all]
> Erro 2
> make: ** [all] Erro 2
>
>
>
> And in KDevPlatform:
>
> [ 85%] Building CXX object
> plugins/classbrowser/CMakeFiles/kdevclassbrowser.dir/classmodel.o
> In file included from
> /usr/include/boost/multi_index/detail/node_type.hpp:23,
>                  from
> /usr/include/boost/multi_index/detail/index_base.hpp:21,
>                  from
> /usr/include/boost/multi_index/detail/base_type.hpp:21,
>                  from /usr/include/boost/multi_index_container.hpp:33,
>                  from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/allclassesfolder.h:26,
>                  from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/classmodel.cpp:25:
> /usr/include/boost/multi_index/detail/index_node_base.hpp:22:42:
> error: boost/serialization/access.hpp: Arquivo ou diretório não
> encontrado
> In file included from
> /usr/include/boost/multi_index/detail/index_base.hpp:27,
>                  from
> /usr/include/boost/multi_index/detail/base_type.hpp:21,
>                  from /usr/include/boost/multi_index_container.hpp:33,
>                  from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/allclassesfolder.h:26,
>                  from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/classmodel.cpp:25:
> /usr/include/boost/multi_index/detail/index_loader.hpp:21:39: error:
> boost/serialization/nvp.hpp: Arquivo ou diretório não encontrado
> In file included from /usr/include/boost/multi_index_container.hpp:46,
>                  from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/allclassesfolder.h:26,
>                  from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/classmodel.cpp:25:
> /usr/include/boost/multi_index/detail/archive_constructed.hpp:19:49:
> error: boost/serialization/serialization.hpp: Arquivo ou diretório não
> encontrado
> In file included from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/allclassesfolder.h:26,
>                  from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/classmodel.cpp:25:
> /usr/include/boost/multi_index_container.hpp:48:48: error:
> boost/serialization/split_member.hpp: Arquivo ou diretório não
> encontrado
> In file included from
> /usr/include/boost/multi_index/detail/node_type.hpp:23,
>                  from
> /usr/include/boost/multi_index/detail/index_base.hpp:21,
>                  from
> /usr/include/boost/multi_index/detail/base_type.hpp:21,
>                  from /usr/include/boost/multi_index_container.hpp:33,
>                  from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/allclassesfolder.h:26,
>                  from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/classmodel.cpp:25:
> /usr/include/boost/multi_index/detail/index_node_base.hpp:73: error:
> ‘boost::serialization’ has not been declared
> /usr/include/boost/multi_index/detail/index_node_base.hpp:73: error:
> friend declaration does not name a class or function
> In file included from
> /usr/include/boost/multi_index/detail/index_base.hpp:27,
>                  from
> /usr/include/boost/multi_index/detail/base_type.hpp:21,
>                  from /usr/include/boost/multi_index_container.hpp:33,
>                  from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/allclassesfolder.h:26,
>                  from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/classmodel.cpp:25:
> /usr/include/boost/multi_index/detail/index_loader.hpp: In member
> function ‘void boost::multi_index::detail::index_loader<Node,
> FinalNode, Allocator>::add(Node*, Archive&, unsigned int)’:
> /usr/include/boost/multi_index/detail/index_loader.hpp:49: error:
> ‘serialization’ has not been declared
> /usr/include/boost/multi_index/detail/index_loader.hpp: In member
> function ‘void boost::multi_index::detail::index_loader<Node,
> FinalNode, Allocator>::add_track(Node*, Archive&, unsigned int)’:
> /usr/include/boost/multi_index/detail/index_loader.hpp:56: error:
> ‘serialization’ has not been declared
> /usr/include/boost/multi_index/detail/index_loader.hpp: In member
> function ‘FinalNode* boost::multi_index::detail::index_loader<Node,
> FinalNode, Allocator>::unchecked_load_node(Archive&) const’:
> /usr/include/boost/multi_index/detail/index_loader.hpp:104: error:
> ‘serialization’ has not been declared
> /usr/include/boost/multi_index/detail/index_loader.hpp: In member
> function ‘FinalNode* boost::multi_index::detail::index_loader<Node,
> FinalNode, Allocator>::load_node(Archive&) const’:
> /usr/include/boost/multi_index/detail/index_loader.hpp:112: error:
> ‘serialization’ has not been declared
> In file included from
> /usr/include/boost/multi_index/detail/index_base.hpp:28,
>                  from
> /usr/include/boost/multi_index/detail/base_type.hpp:21,
>                  from /usr/include/boost/multi_index_container.hpp:33,
>                  from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/allclassesfolder.h:26,
>                  from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/classmodel.cpp:25:
> /usr/include/boost/multi_index/detail/index_saver.hpp: In member
> function ‘void boost::multi_index::detail::index_saver<Node,
> Allocator>::add(Node*, Archive&, unsigned int)’:
> /usr/include/boost/multi_index/detail/index_saver.hpp:46: error:
> ‘serialization’ has not been declared
> /usr/include/boost/multi_index/detail/index_saver.hpp: In member
> function ‘void boost::multi_index::detail::index_saver<Node,
> Allocator>::add_track(Node*, Archive&, unsigned int)’:
> /usr/include/boost/multi_index/detail/index_saver.hpp:53: error:
> ‘serialization’ has not been declared
> /usr/include/boost/multi_index/detail/index_saver.hpp: In static
> member function ‘static void
> boost::multi_index::detail::index_saver<Node,
> Allocator>::save_node(Node*, Archive&)’:
> /usr/include/boost/multi_index/detail/index_saver.hpp:123: error:
> ‘serialization’ has not been declared
> In file included from /usr/include/boost/multi_index_container.hpp:46,
>                  from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/allclassesfolder.h:26,
>                  from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/classmodel.cpp:25:
> /usr/include/boost/multi_index/detail/archive_constructed.hpp: In
> constructor
> ‘boost::multi_index::detail::archive_constructed<T>::archive_constructed(Archive&,
> unsigned int)’:
> /usr/include/boost/multi_index/detail/archive_constructed.hpp:37:
> error: ‘serialization’ has not been declared
> /usr/include/boost/multi_index/detail/archive_constructed.hpp: In
> constructor
> ‘boost::multi_index::detail::archive_constructed<T>::archive_constructed(const
> char*, Archive&, unsigned int)’:
> /usr/include/boost/multi_index/detail/archive_constructed.hpp:51:
> error: ‘serialization’ has not been declared
> /usr/include/boost/multi_index/detail/archive_constructed.hpp:53:
> error: ‘serialization’ has not been declared
> In file included from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/allclassesfolder.h:26,
>                  from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/classmodel.cpp:25:
> /usr/include/boost/multi_index_container.hpp: At global scope:
> /usr/include/boost/multi_index_container.hpp:623: error:
> ‘boost::serialization’ has not been declared
> /usr/include/boost/multi_index_container.hpp:623: error: friend
> declaration does not name a class or function
> /usr/include/boost/multi_index_container.hpp:627: error: expected ‘;’
> before ‘typedef’
> /usr/include/boost/multi_index_container.hpp: In member function ‘void
> boost::multi_index::multi_index_container<Value, IndexSpecifierList,
> Allocator>::save(Archive&, unsigned int) const’:
> /usr/include/boost/multi_index_container.hpp:634: error:
> ‘serialization’ has not been declared
> /usr/include/boost/multi_index_container.hpp:635: error:
> ‘index_saver_type’ was not declared in this scope
> /usr/include/boost/multi_index_container.hpp:635: error: expected `;'
> before ‘sm’
> /usr/include/boost/multi_index_container.hpp:638: error:
> ‘serialization’ has not been declared
> /usr/include/boost/multi_index_container.hpp:639: error: ‘sm’ was not
> declared in this scope
> /usr/include/boost/multi_index_container.hpp:641: error: ‘sm’ was not
> declared in this scope
> /usr/include/boost/multi_index_container.hpp: In member function ‘void
> boost::multi_index::multi_index_container<Value, IndexSpecifierList,
> Allocator>::load(Archive&, unsigned int)’:
> /usr/include/boost/multi_index_container.hpp:654: error:
> ‘serialization’ has not been declared
> In file included from /usr/include/boost/multi_index/ordered_index.hpp:52,
>                  from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/allclassesfolder.h:28,
>                  from
> /home/saulo/Desktop/kdevelop/kdevplatform/plugins/classbrowser/classmodel.cpp:25:
> /usr/include/boost/multi_index/detail/bidir_node_iterator.hpp: At global
> scope:
> /usr/include/boost/multi_index/detail/bidir_node_iterator.hpp:71:
> error: expected ‘;’ before ‘typedef’
> /usr/include/boost/multi_index/detail/bidir_node_iterator.hpp: In
> member function ‘void
> boost::multi_index::detail::bidir_node_iterator<Node>::save(Archive&,
> unsigned int) const’:
> /usr/include/boost/multi_index/detail/bidir_node_iterator.hpp:76:
> error: ‘node_base_type’ was not declared in this scope
> /usr/include/boost/multi_index/detail/bidir_node_iterator.hpp:76:
> error: ‘bnode’ was not declared in this scope
> /usr/include/boost/multi_index/detail/bidir_node_iterator.hpp:77:
> error: ‘serialization’ has not been declared
> /usr/include/boost/multi_index/detail/bidir_node_iterator.hpp: In
> member function ‘void
> boost::multi_index::detail::bidir_node_iterator<Node>::load(Archive&,
> unsigned int)’:
> /usr/include/boost/multi_index/detail/bidir_node_iterator.hpp:83:
> error: ‘node_base_type’ was not declared in this scope
> /usr/include/boost/multi_index/detail/bidir_node_iterator.hpp:83:
> error: ‘bnode’ was not declared in this scope
> /usr/include/boost/multi_index/detail/bidir_node_iterator.hpp:84:
> error: ‘serialization’ has not been declared
> make[2]: **
> [plugins/classbrowser/CMakeFiles/kdevclassbrowser.dir/classmodel.o]
> Erro 1
> make[1]: ** [plugins/classbrowser/CMakeFiles/kdevclassbrowser.dir/all] Erro
> 2
> make: ** [all] Erro 2
>
>
> 2009/7/26, Andreas Pakulat <apaku at gmx.de>:
>> On 26.07.09 15:15:00, Saulo Soares de Toledo wrote:
>>> The first compile error:
>>> /home/saulo/Desktop/kdevelop/
>>> kdevelop/tools/coverage/tests/annotationmanagertest.cpp:283:
>>> warning: unused parameter ‘f’
>>> make[2]: **
>>> [tools/coverage/tests/CMakeFiles/gcov-unit-annotationmanager.dir/annotationmanagertest.o]
>>> Erro 1
>>> make[1]: **
>>> [tools/coverage/tests/CMakeFiles/gcov-unit-annotationmanager.dir/all]
>>> Erro 2
>>> make: ** [all] Erro 2
>>
>> Thats a warning, not an error. I suggest to not compile with -Wall.
>>
>>> Only to test, I put "f = 0;" to see other compile errors.
>>> The second:
>>>
>>> [ 71%] Building CXX object
>>> tools/coverage/tests/CMakeFiles/gcov-unit-annotationmanager.dir/annotationmanagertest.o
>>> In file included from
>>> /home/saulo/Desktop/kdevelop/kdevelop/tools/coverage/tests/annotationmanagertest.cpp:33:
>>> /home/saulo/Desktop/kdevelop/kdevelop/tools/coverage/tests/corestub.h:81:
>>> error: invalid covariant return type for ‘virtual
>>> KDevelop::IPartController* TestStubs::Core::partController()’
>>> /usr/include/kdevplatform/interfaces/icore.h:94: error:   overriding
>>> ‘virtual KParts::PartManager* KDevelop::ICore::partController()’
>>
>> Your kdevplatform is outdated.
>>
>> Andreas
>>
>> --
>> Your aims are high, and you are capable of much.
>>
>> _______________________________________________
>> KDevelop-devel mailing list
>> KDevelop-devel at kdevelop.org
>> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>>
>




More information about the KDevelop-devel mailing list