Content-Type: multipart/mixed; boundary="===============4105448420128204349==" MIME-Version: 1.0 From: Giacinto Cifelli Subject: [PATCH] ril driver: commented out pragma Date: Thu, 20 Sep 2018 06:05:38 +0200 Message-ID: <1537416338-10392-1-git-send-email-gciofono@gmail.com> List-Id: To: ofono@ofono.org --===============4105448420128204349== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable gcc 4.8.4 rejects the line: and this breaks the default compilation. Since they may be needed for other compilers, I have just commented them out with '//', so that they stand out. --- drivers/rilmodem/call-forwarding.c | 2 +- drivers/rilmodem/network-registration.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rilmodem/call-forwarding.c b/drivers/rilmodem/call-for= warding.c index 4aff4d3..0bdab3f 100644 --- a/drivers/rilmodem/call-forwarding.c +++ b/drivers/rilmodem/call-forwarding.c @@ -38,7 +38,7 @@ #include #include "common.h" = -#pragma GCC diagnostic ignored "-Wrestrict" +//#pragma GCC diagnostic ignored "-Wrestrict" = #include "gril.h" = diff --git a/drivers/rilmodem/network-registration.c b/drivers/rilmodem/net= work-registration.c index 809b3bc..9895c6d 100644 --- a/drivers/rilmodem/network-registration.c +++ b/drivers/rilmodem/network-registration.c @@ -37,7 +37,7 @@ #include #include = -#pragma GCC diagnostic ignored "-Wrestrict" +//#pragma GCC diagnostic ignored "-Wrestrict" = #include = -- = 1.9.1 --===============4105448420128204349==--