* Latest gnutls changes breaks --enable-gcc-warnings
@ 2014-11-24 4:08 Dmitry Antipov
2014-11-24 14:43 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Antipov @ 2014-11-24 4:08 UTC (permalink / raw)
To: Emacs development discussions; +Cc: Lars Magne Ingebrigtsen
As of e01ec2ed084776b370e0634120deec6b65424b8a, --enable-gcc-warnings produces:
../../emacs/src/gnutls.c:772:1: error: no previous prototype for ‘gnutls_hex_string’ [-Werror=missing-prototypes]
gnutls_hex_string (char *buf, size_t buf_size, char *prefix) {
^
../../emacs/src/gnutls.c:790:1: error: no previous prototype for ‘gnutls_certificate_details’ [-Werror=missing-prototypes]
gnutls_certificate_details (gnutls_x509_crt_t cert)
^
../../emacs/src/gnutls.c: In function ‘gnutls_certificate_details’:
../../emacs/src/gnutls.c:813:7: error: passing argument 3 of ‘gnutls_hex_string’ discards ‘const’ qualifier from pointer target type [-Werror]
gnutls_hex_string (serial, serial_size, "")));
^
../../emacs/src/gnutls.c:772:1: note: expected ‘char *’ but argument is of type ‘const char *’
gnutls_hex_string (char *buf, size_t buf_size, char *prefix) {
^
../../emacs/src/gnutls.c:927:9: error: passing argument 3 of ‘gnutls_hex_string’ discards ‘const’ qualifier from pointer target type [-Werror]
gnutls_hex_string (buf, buf_size, "")));
^
../../emacs/src/gnutls.c:772:1: note: expected ‘char *’ but argument is of type ‘const char *’
gnutls_hex_string (char *buf, size_t buf_size, char *prefix) {
^
../../emacs/src/gnutls.c:945:14: error: passing argument 3 of ‘gnutls_hex_string’ discards ‘const’ qualifier from pointer target type [-Werror]
buf_size, "sha1:")));
^
../../emacs/src/gnutls.c:772:1: note: expected ‘char *’ but argument is of type ‘const char *’
gnutls_hex_string (char *buf, size_t buf_size, char *prefix) {
^
../../emacs/src/gnutls.c:963:14: error: passing argument 3 of ‘gnutls_hex_string’ discards ‘const’ qualifier from pointer target type [-Werror]
buf_size, "sha1:")));
^
../../emacs/src/gnutls.c:772:1: note: expected ‘char *’ but argument is of type ‘const char *’
gnutls_hex_string (char *buf, size_t buf_size, char *prefix) {
^
../../emacs/src/gnutls.c: At top level:
../../emacs/src/gnutls.c:68:5: error: ‘extra_peer_verification_t’ defined but not used [-Werror=unused-variable]
} extra_peer_verification_t;
^
cc1: all warnings being treated as errors
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Latest gnutls changes breaks --enable-gcc-warnings
2014-11-24 4:08 Latest gnutls changes breaks --enable-gcc-warnings Dmitry Antipov
@ 2014-11-24 14:43 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2014-11-24 14:43 UTC (permalink / raw)
To: Dmitry Antipov; +Cc: Emacs development discussions
Dmitry Antipov <dmantipov@yandex.ru> writes:
> As of e01ec2ed084776b370e0634120deec6b65424b8a, --enable-gcc-warnings produces:
I've now pushed a fix for these warnings.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-24 14:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-24 4:08 Latest gnutls changes breaks --enable-gcc-warnings Dmitry Antipov
2014-11-24 14:43 ` Lars Magne Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.