Hi!

On Tue 2018-09-04 11:44:16, Pavel Machek wrote:

commit f13047bf9334795b89b09fef3a051e7dfbe207f2
Author: Denis Kenzior <[email protected]>
Date:   Thu Dec 27 18:19:31 2018 -0600

    stktest: Fix immediate response test

I have updated to recent ofono -- and the problem is still there: 

> 
>   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:

Plus there's new one:
  CC       drivers/rilmodem/sim.o
  drivers/rilmodem/sim.c: In function ‘ril_file_io_cb’:
  drivers/rilmodem/sim.c:381:49: warning: passing argument 2 of
  ‘l_util_from_hexstring’ from incompatible pointer type
    response = l_util_from_hexstring(hex_response, &len);
                                                     ^
                                                     In file included
  from ./ell/ell.h:1:0,
                   from drivers/rilmodem/sim.c:34:
                   ./ell/util.h:271:16: note: expected ‘size_t *’ but
  argument is of type ‘long int *’
   unsigned char *l_util_from_hexstring(const char *str, size_t
  *out_len);
                  ^
                  drivers/rilmodem/sim.c: At top level:
                  cc1: warning: unrecognized command line option
  "-Wno-format-truncation"
    CC       drivers/rilmodem/ussd.o
      CC       drivers/rilmodem/call-forwarding.o
      drivers/rilmodem/call-forwarding.c:40:9: warning: unknown option
  after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
   #pragma GCC diagnostic ignored "-Wrestrict"
            ^
            cc1: warning: unrecognized command line option
  "-Wno-format-truncation"
  
Oh and... the ell thing is a trap, ending in compile error. It would
be nice to test for ../ell directory at configure time.
  
Best regards,
                                                                        Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to