emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master updated (b0d095b -> 0689a4a)


From: Lars Ingebrigtsen
Subject: Re: master updated (b0d095b -> 0689a4a)
Date: Sun, 04 Apr 2021 04:15:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

This leads to the following warnings (on Debian, at least):

image.c: In function ‘svg_load_image’:
image.c:9952:24: warning: initialization discards ‘const’ qualifier from 
pointer target type [-Wdiscarded-qualifiers]
 9952 |       char *css_spec = "svg{font-family:"%s";font-size:%4dpx}";
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
image.c:9956:48: warning: pointer targets in passing argument 2 of 
‘rsvg_handle_set_stylesheet’ differ in signedness [-Wpointer-sign]
 9956 |       rsvg_handle_set_stylesheet (rsvg_handle, css, strlen (css), NULL);
      |                                                ^~~
      |                                                |
      |                                                char *
In file included from image.c:9605:
/usr/include/librsvg-2.0/librsvg/rsvg.h:348:52: note: expected ‘const guint8 *’ 
{aka ‘const unsigned char *’} but argument is of type ‘char *’
  348 |                                      const guint8 *css,
      |                                      ~~~~~~~~~~~~~~^~~
image.c:10144:44: warning: pointer targets in passing argument 2 of 
‘rsvg_handle_set_stylesheet’ differ in signedness [-Wpointer-sign]
10144 |   rsvg_handle_set_stylesheet (rsvg_handle, css, strlen (css), NULL);
      |                                            ^~~
      |                                            |
      |                                            char *
In file included from image.c:9605:
/usr/include/librsvg-2.0/librsvg/rsvg.h:348:52: note: expected ‘const guint8 *’ 
{aka ‘const unsigned char *’} but argument is of type ‘char *’
  348 |                                      const guint8 *css,
      |                                      ~~~~~~~~~~~~~~^~~
  CC       json.o
  CC       terminfo.o
  CC       lastfile.o
In file included from image.c:37:
lisp.h:339:26: warning: ‘lcss’ may be used uninitialized in this function 
[-Wmaybe-uninitialized]
  339 | #  define lisp_h_XLI(o) ((EMACS_INT) (o))
      |                          ^
image.c:9948:15: note: ‘lcss’ was declared here
 9948 |   Lisp_Object lcss = image_spec_value (img->spec, QCcss, NULL);
      |               ^~~~
image.c:10256:5: warning: ‘css’ may be used uninitialized in this function 
[-Wmaybe-uninitialized]
10256 |     xfree (css);
      |     ^~~~~~~~~~~
  CCLD     temacs


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




reply via email to

[Prev in Thread] Current Thread [Next in Thread]