From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: --enable-gcc-warnings is broken on Fedora 21 by GnuTLS code Date: Fri, 12 Dec 2014 11:38:18 +0300 Message-ID: <548AA97A.90404@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1418373569 29192 80.91.229.3 (12 Dec 2014 08:39:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2014 08:39:29 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , Paul Eggert To: Emacs development discussions Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 12 09:39:21 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XzLku-0002Iu-36 for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2014 09:39:20 +0100 Original-Received: from localhost ([::1]:56013 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzLkt-0001Mf-N3 for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2014 03:39:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzLk7-0000ij-Ml for emacs-devel@gnu.org; Fri, 12 Dec 2014 03:38:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzLk0-0005Mm-LZ for emacs-devel@gnu.org; Fri, 12 Dec 2014 03:38:31 -0500 Original-Received: from forward13.mail.yandex.net ([95.108.130.120]:52509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzLk0-0005M0-7t for emacs-devel@gnu.org; Fri, 12 Dec 2014 03:38:24 -0500 Original-Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward13.mail.yandex.net (Yandex) with ESMTP id BB79F142068; Fri, 12 Dec 2014 11:38:19 +0300 (MSK) Original-Received: from smtp13.mail.yandex.net (localhost [127.0.0.1]) by smtp13.mail.yandex.net (Yandex) with ESMTP id 57242E402AC; Fri, 12 Dec 2014 11:38:19 +0300 (MSK) Original-Received: from unknown (unknown [37.139.80.10]) by smtp13.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id wafVOCNIL4-cI5ucAvL; Fri, 12 Dec 2014 11:38:18 +0300 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1418373498; bh=5s8V29+odc6Tftp7Ay90f4T5EoPl+DSwwkijKKifgiU=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: Content-Type:Content-Transfer-Encoding; b=S/k/t0pTgPaS0d0HhmdCDy4+HPEfHESU702/YoUV1taKv2QL716IllUSC95MQddae 81BfjZ274MoMpxJ1LyB0BL3xLgeFibt+rt34rfQCUaUtMH/3K3dfLDfJoTFbmh7qCf BUH7qp9wSDAQ9+HKAcOX3Jwud7ZeRrkluIOgmmHg= Authentication-Results: smtp13.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 95.108.130.120 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:179867 Archived-At: On Fedora 21 with gnutls 3.3.10: =2E./../emacs/src/gnutls.c: In function =E2=80=98emacs_gnutls_global_init= =E2=80=99: =2E./../emacs/src/gnutls.c:1115:7: error: =E2=80=98gnutls_global_set_mem_= functions=E2=80=99 is deprecated (declared at /usr/include/gnutls/compat.= h:398) [-Werror=3Ddeprecated-declarations] fn_gnutls_global_set_mem_functions (xmalloc, xmalloc, NULL, 'man gnutls_global_set_mem_functions' explicitly states that "since 3.3.0= it is no longer possible to replace the internally used memory allocation fu= nctions". I'm just curious how to hook Emacs' xmalloc/xrealloc/xfree into GnuTLS wi= thout that. Dmitry