* Remove dynamic memory usage from core * Refacor status check to use json pointers * Move access token to session * Remove code duplication * Fix compile warnings from rapidjson sources * Add 'interactive mode option to session configuration * Implement non interactive mode connector * Add 'non interactove' implementation * Apply rapidjson patch * Build on all cores * Rename build script * Split configure and build steps * Add scripts for building all images * Change bash to python for build scripts * Stop printing methods name in non interactive mode * Add trace log level, adn more params to init message * Fix build * Fix non interactive method selection and refactor vagrant files for debian like systems * Refactor log messages * Remove exces dependencies from vagrant configuration files * Fixed vagrantfiles * Added repo for rhel * Add nonInteractiveMode option * Added instalation script for pubkey * Fixed pubkey install script and postrm for rhel
52 lines
2.0 KiB
Diff
52 lines
2.0 KiB
Diff
diff --git a/include/rapidjson/document.h b/include/rapidjson/document.h
|
|
index e3e20dfb..592c5678 100644
|
|
--- a/include/rapidjson/document.h
|
|
+++ b/include/rapidjson/document.h
|
|
@@ -97,17 +97,20 @@ struct GenericMember {
|
|
|
|
\see GenericMember, GenericValue::MemberIterator, GenericValue::ConstMemberIterator
|
|
*/
|
|
+#pragma GCC diagnostic push
|
|
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
template <bool Const, typename Encoding, typename Allocator>
|
|
class GenericMemberIterator
|
|
: public std::iterator<std::random_access_iterator_tag
|
|
, typename internal::MaybeAddConst<Const,GenericMember<Encoding,Allocator> >::Type> {
|
|
-
|
|
+
|
|
friend class GenericValue<Encoding,Allocator>;
|
|
template <bool, typename, typename> friend class GenericMemberIterator;
|
|
|
|
typedef GenericMember<Encoding,Allocator> PlainType;
|
|
typedef typename internal::MaybeAddConst<Const,PlainType>::Type ValueType;
|
|
typedef std::iterator<std::random_access_iterator_tag,ValueType> BaseType;
|
|
+#pragma GCC diagnostic pop
|
|
|
|
public:
|
|
//! Iterator type itself
|
|
@@ -1936,7 +1939,10 @@ private:
|
|
if (count) {
|
|
GenericValue* e = static_cast<GenericValue*>(allocator.Malloc(count * sizeof(GenericValue)));
|
|
SetElementsPointer(e);
|
|
+#pragma GCC diagnostic push
|
|
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
|
|
std::memcpy(e, values, count * sizeof(GenericValue));
|
|
+#pragma GCC diagnostic pop
|
|
}
|
|
else
|
|
SetElementsPointer(0);
|
|
@@ -1949,7 +1955,10 @@ private:
|
|
if (count) {
|
|
Member* m = static_cast<Member*>(allocator.Malloc(count * sizeof(Member)));
|
|
SetMembersPointer(m);
|
|
+#pragma GCC diagnostic push
|
|
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
|
|
std::memcpy(m, members, count * sizeof(Member));
|
|
+#pragma GCC diagnostic pop
|
|
}
|
|
else
|
|
SetMembersPointer(0);
|
|
diff --git a/package.json b/package.json
|
|
index 843463d7..cc6087a5 100644
|
|
Binary files a/package.json and b/package.json differ
|