hi,

I had the same issue.
For now I couldn't spare time to investigate, but I have commented out all lines with that pragma and worked.

Best regards,
Giacinto


On Tue, Sep 4, 2018 at 11:44 AM Pavel Machek <pavel@ucw.cz> wrote:
Hi!

I'm getting this:

  CC       drivers/rilmodem/network-registration.o
  drivers/rilmodem/network-registration.c:40:32: error: unknown option
  after ‘#pragma GCC diagnostic’ kind [-Werror=pragmas]
   #pragma GCC diagnostic ignored "-Wrestrict"
cc1: error: unrecognized command line option ‘-Wno-format-truncation’
  [-Werror]
  cc1: all warnings being treated as errors

I commented out #pragma, and this allows compilation to
continue... until I hit same issue in
drivers/rilmodem/call-forwarding.c:41:32:

Best regards,
                                                                        Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
_______________________________________________
ofono mailing list
ofono@ofono.org
https://lists.ofono.org/mailman/listinfo/ofono