[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
- master updated (b0d095b -> 0689a4a), Alan Third, 2021/04/03
- master 4e1f92f 1/4: Implement frame-scale-factor, Alan Third, 2021/04/03
- master 40842f6 2/4: Fix NSTRACE failure, Alan Third, 2021/04/03
- master 1fdbeff 3/4: Set CSS for SVG files, Alan Third, 2021/04/03
- master 0689a4a 4/4: Make new SVG widgets match character height (bug#47074), Alan Third, 2021/04/03
- Re: master updated (b0d095b -> 0689a4a),
Lars Ingebrigtsen <=
- Re: master updated (b0d095b -> 0689a4a), Alan Third, 2021/04/04
- Re: master updated (b0d095b -> 0689a4a), Stefan Kangas, 2021/04/04
- Re: master updated (b0d095b -> 0689a4a), Lars Ingebrigtsen, 2021/04/04
- Re: master updated (b0d095b -> 0689a4a), Alan Third, 2021/04/04
- Re: master updated (b0d095b -> 0689a4a), Lars Ingebrigtsen, 2021/04/04
- Re: master updated (b0d095b -> 0689a4a), Alan Third, 2021/04/04