Skip to content

Commit bfed4b3

Browse files
AEGIS build fixes
1 parent 5830ae7 commit bfed4b3

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

json_pack_base.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,11 @@ namespace classdesc
8888

8989
template <class T>
9090
explicit json_pack_t(const T& x, typename enable_if<
91+
And<
9192
And<
9293
Not<is_base_of<json5_parser::mValue,T> >,
93-
Not<is_base_of<json5_parser::mArray,T> >,
94+
Not<is_base_of<json5_parser::mArray,T> >
95+
>,
9496
Not<is_base_of<json5_parser::mObject,T> >
9597
>, dummy<1> >::T* d=0);
9698

@@ -173,9 +175,11 @@ namespace classdesc
173175

174176
template <class T>
175177
json_pack_t::json_pack_t(const T& x, typename enable_if<
178+
And<
176179
And<
177180
Not<is_base_of<json5_parser::mValue,T> >,
178-
Not<is_base_of<json5_parser::mArray,T> >,
181+
Not<is_base_of<json5_parser::mArray,T> >
182+
>,
179183
Not<is_base_of<json5_parser::mObject,T> >
180184
>, dummy<1> >::T*):
181185
json5_parser::mValue(json5_parser::mObject()),

pack_base.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ namespace classdesc
7171
#pragma GCC diagnostic push
7272
// gcc is not clever enough to delve into xdr to know this is not uninitialised
7373
#pragma GCC diagnostic ignored "-Wuninitialized"
74+
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
7475
#endif
7576

7677
#ifdef XDR_PACK

0 commit comments

Comments
 (0)