diff --git a/mbus/mbus-protocol.c b/mbus/mbus-protocol.c index 9312364..3e9b99d 100755 --- a/mbus/mbus-protocol.c +++ b/mbus/mbus-protocol.c @@ -1,3 +1,8 @@ +#pragma GCC diagnostic push +// ignore these warnings, it is third party code +#pragma GCC diagnostic ignored "-Wpointer-sign" +#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" + //------------------------------------------------------------------------------ // Copyright (C) 2010-2011, Robert Johansson, Raditex AB // All rights reserved. @@ -5249,3 +5254,5 @@ mbus_is_secondary_address(const char * value) return 1; } + +#pragma GCC diagnostic pop \ No newline at end of file