• Страница 1 из 1
  • 1
Проблемы с компиляцией skyfire 5.4.8
Honoriks
Скаут
In file included from /dev/Honore/source/SkyFire.548/src/server/shared/AutoPtr.h:23:0,
                 from /dev/Honore/source/SkyFire.548/src/server/shared/Database/QueryResult.h:23,
                 from /dev/Honore/source/SkyFire.548/src/server/shared/Database/SQLOperation.h:26,
                 from PrecompiledHeaders/sharedPCH.h:25:
/dev/Honore/trinity/.sys/include/ace/Bound_Ptr.h:121:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
   explicit ACE_Strong_Bound_Ptr (auto_ptr<X> p);
                                  ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /dev/Honore/trinity/.sys/include/ace/Auto_Ptr.h:78,
                 from /dev/Honore/trinity/.sys/include/ace/Service_Gestalt.h:25,
                 from /dev/Honore/trinity/.sys/include/ace/Service_Object.h:27,
                 from /dev/Honore/trinity/.sys/include/ace/Task.h:17,
                 from /dev/Honore/source/SkyFire.548/src/server/shared/Logging/LogWorker.h:25,
                 from /dev/Honore/source/SkyFire.548/src/server/shared/Logging/Log.h:25,
                 from PrecompiledHeaders/sharedPCH.h:23:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /dev/Honore/source/SkyFire.548/src/server/shared/AutoPtr.h:23:0,
                 from /dev/Honore/source/SkyFire.548/src/server/shared/Database/QueryResult.h:23,
                 from /dev/Honore/source/SkyFire.548/src/server/shared/Database/SQLOperation.h:26,
                 from PrecompiledHeaders/sharedPCH.h:25:
/dev/Honore/trinity/.sys/include/ace/Bound_Ptr.h:222:15: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
   void reset (auto_ptr<X> p);
               ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /dev/Honore/trinity/.sys/include/ace/Auto_Ptr.h:78,
                 from /dev/Honore/trinity/.sys/include/ace/Service_Gestalt.h:25,
                 from /dev/Honore/trinity/.sys/include/ace/Service_Object.h:27,
                 from /dev/Honore/trinity/.sys/include/ace/Task.h:17,
                 from /dev/Honore/source/SkyFire.548/src/server/shared/Logging/LogWorker.h:25,
                 from /dev/Honore/source/SkyFire.548/src/server/shared/Logging/Log.h:25,
                 from PrecompiledHeaders/sharedPCH.h:23:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /dev/Honore/trinity/.sys/include/ace/Bound_Ptr.h:384:0,
                 from /dev/Honore/source/SkyFire.548/src/server/shared/AutoPtr.h:23,
                 from /dev/Honore/source/SkyFire.548/src/server/shared/Database/QueryResult.h:23,
                 from /dev/Honore/source/SkyFire.548/src/server/shared/Database/SQLOperation.h:26,
                 from PrecompiledHeaders/sharedPCH.h:25:
/dev/Honore/trinity/.sys/include/ace/Bound_Ptr.inl:154:58: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
 ACE_Strong_Bound_Ptr<X, ACE_LOCK>::ACE_Strong_Bound_Ptr (auto_ptr<X> p)
                                                          ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /dev/Honore/trinity/.sys/include/ace/Auto_Ptr.h:78,
                 from /dev/Honore/trinity/.sys/include/ace/Service_Gestalt.h:25,
                 from /dev/Honore/trinity/.sys/include/ace/Service_Object.h:27,
                 from /dev/Honore/trinity/.sys/include/ace/Task.h:17,
                 from /dev/Honore/source/SkyFire.548/src/server/shared/Logging/LogWorker.h:25,
                 from /dev/Honore/source/SkyFire.548/src/server/shared/Logging/Log.h:25,
                 from PrecompiledHeaders/sharedPCH.h:23:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /dev/Honore/trinity/.sys/include/ace/Bound_Ptr.h:384:0,
                 from /dev/Honore/source/SkyFire.548/src/server/shared/AutoPtr.h:23,
                 from /dev/Honore/source/SkyFire.548/src/server/shared/Database/QueryResult.h:23,
                 from /dev/Honore/source/SkyFire.548/src/server/shared/Database/SQLOperation.h:26,
                 from PrecompiledHeaders/sharedPCH.h:25:
/dev/Honore/trinity/.sys/include/ace/Bound_Ptr.inl:309:43: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
 ACE_Strong_Bound_Ptr<X, ACE_LOCK>::reset (auto_ptr<X> p)
                                           ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /dev/Honore/trinity/.sys/include/ace/Auto_Ptr.h:78,
                 from /dev/Honore/trinity/.sys/include/ace/Service_Gestalt.h:25,
                 from /dev/Honore/trinity/.sys/include/ace/Service_Object.h:27,
                 from /dev/Honore/trinity/.sys/include/ace/Task.h:17,
                 from /dev/Honore/source/SkyFire.548/src/server/shared/Logging/LogWorker.h:25,
                 from /dev/Honore/source/SkyFire.548/src/server/shared/Logging/Log.h:25,
                 from PrecompiledHeaders/sharedPCH.h:23:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
[  9%] Built target generate_sharedPCH.cpp
Scanning dependencies of target shared
[  9%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Configuration/Config.cpp.o
[  9%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Cryptography/SHA1.cpp.o
[  9%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Cryptography/OpenSSLCrypto.cpp.o
[  9%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Cryptography/HMACSHA1.cpp.o
[  9%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Cryptography/BigNumber.cpp.o
[  9%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Cryptography/Authentication/AuthCrypt.cpp.o
[ 10%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Cryptography/ARC4.cpp.o
[ 10%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Database/Transaction.cpp.o
[ 10%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Database/QueryResult.cpp.o
/dev/Honore/source/SkyFire.548/src/server/shared/Database/QueryResult.cpp: In constructor ‘PreparedResultSet::PreparedResultSet(MYSQL_STMT*, MYSQL_RES*, uint64, uint32)’:
/dev/Honore/source/SkyFire.548/src/server/shared/Database/QueryResult.cpp:82:41  error: cannot convert ‘bool*’ to ‘my_bool* {aka char*}’ in assignment
         m_rBind.is_null = &m_isNull;
                                         ^
make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Database/QueryResult.cpp.o] Error 1
make[1]: *** [src/server/shared/CMakeFiles/shared.dir/all] Error 2
make: *** [all]
Error 2

Может кто сталкивался ?

Исходы https://github.com/ProjectSkyfire/SkyFire.548.git 
ОС Ubuntu 14.04

Добавлено (20.06.2018, 10:14)
---------------------------------------------
ап.

Добавлено (21.06.2018, 12:48)
---------------------------------------------
Исправлено. Если кто то столкнется, то просто замените g++ на 4.9 gcc 6.0+ так и оставить. Ну и там последняя ошибка была. Что у мне не 8.0 mysql был. Заменил. Всё скомпилировал.

Сообщение # 1 написано 21.06.2018 в 12:48
  • Страница 1 из 1
  • 1
Поиск: