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.
On Tue, Sep 4, 2018 at 11:44 AM Pavel Machek <pavel(a)ucw.cz> wrote:
I'm getting this:
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’
cc1: all warnings being treated as errors
I commented out #pragma, and this allows compilation to
continue... until I hit same issue in
ofono mailing list