ril driver: commented out pragma
PATCH 1/1 ril driver: commented out pragma
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(-)
drivers/rilmodem/call-forwarding.c +1 -1
@@ -38,7 +38,7 @@#include <ofono/call-forwarding.h> #include "common.h" -#pragma GCC diagnostic ignored "-Wrestrict" +//#pragma GCC diagnostic ignored "-Wrestrict" #include "gril.h"
drivers/rilmodem/network-registration.c +1 -1
@@ -37,7 +37,7 @@#include <ofono/modem.h> #include <ofono/netreg.h> -#pragma GCC diagnostic ignored "-Wrestrict" +//#pragma GCC diagnostic ignored "-Wrestrict" #include <gril/gril.h>
Signature · 1 line
1.9.1