[ref]同步711
This commit is contained in:
parent
5f9e992d7c
commit
6ca6b3d204
@ -1,7 +1,19 @@
|
||||
|
||||
|
||||
#include "boost/typeof/typeof.hpp"
|
||||
|
||||
//< 屏蔽xml_parser编译告警
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
|
||||
#endif
|
||||
|
||||
#include "boost/property_tree/xml_parser.hpp"
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#include "Common.h"
|
||||
#include "MessageChannel.h"
|
||||
#include "pub_logger_api/logger.h"
|
||||
|
||||
@ -101,8 +101,8 @@ void COStreamFile::writeMsg( const std::string &strData )
|
||||
}
|
||||
uint64 ullSize = cn_check_mask | strData.size();
|
||||
m_pStream->WriteLittleEndian64( ullSize );
|
||||
LOGDEBUG( "write little endian64 %llu", ( unsigned long long ) strData.size());
|
||||
m_pStream->WriteRaw(( const void * ) strData.data(), strData.size());
|
||||
LOGDEBUG( "write little endian64 %d", strData.size());
|
||||
m_pStream->WriteRaw(( const void * ) strData.data(), static_cast<int>(strData.size()));
|
||||
}
|
||||
|
||||
} //< namespace iot_dbms
|
||||
@ -1,3 +1,9 @@
|
||||
|
||||
# ARM板上资源有限,不会与云平台混用,不编译
|
||||
message("Compile only in x86 environment")
|
||||
# requires(contains(QMAKE_HOST.arch, x86_64))
|
||||
requires(!contains(QMAKE_HOST.arch, aarch64):!linux-aarch64*)
|
||||
|
||||
QT -= gui
|
||||
QT += sql
|
||||
|
||||
|
||||
@ -8,8 +8,19 @@
|
||||
**********************************************************************************/
|
||||
|
||||
#include "boost/typeof/typeof.hpp"
|
||||
|
||||
//< 屏蔽xml_parser编译告警
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
|
||||
#endif
|
||||
|
||||
#include "boost/property_tree/xml_parser.hpp"
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#include "pub_logger_api/logger.h"
|
||||
#include "pub_sysinfo_api/SysInfoApi.h"
|
||||
#include "pub_utility_api/FileUtil.h"
|
||||
|
||||
@ -1,4 +1,9 @@
|
||||
|
||||
# ARM板上资源有限,不会与云平台混用,不编译
|
||||
message("Compile only in x86 environment")
|
||||
# requires(contains(QMAKE_HOST.arch, x86_64))
|
||||
requires(!contains(QMAKE_HOST.arch, aarch64))
|
||||
|
||||
QT -= gui core
|
||||
CONFIG -= qt
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user