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: Re: Warnings/errors related to possibly clobbered variables Date: Tue, 13 Jan 2015 15:12:52 +0300 Message-ID: <54B50BC4.3060302@yandex.ru> References: <54B50246.2070507@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1421151202 10640 80.91.229.3 (13 Jan 2015 12:13:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Jan 2015 12:13:22 +0000 (UTC) Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 13 13:13:12 2015 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 1YB0LM-0008Mh-9Z for ged-emacs-devel@m.gmane.org; Tue, 13 Jan 2015 13:13:08 +0100 Original-Received: from localhost ([::1]:38556 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB0LL-0004Kz-4p for ged-emacs-devel@m.gmane.org; Tue, 13 Jan 2015 07:13:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB0LI-0004Kn-4X for emacs-devel@gnu.org; Tue, 13 Jan 2015 07:13:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YB0LD-00064x-1n for emacs-devel@gnu.org; Tue, 13 Jan 2015 07:13:03 -0500 Original-Received: from forward10l.mail.yandex.net ([84.201.143.143]:36794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB0LC-00063z-Ob for emacs-devel@gnu.org; Tue, 13 Jan 2015 07:12:58 -0500 Original-Received: from smtp3m.mail.yandex.net (smtp3m.mail.yandex.net [77.88.61.130]) by forward10l.mail.yandex.net (Yandex) with ESMTP id C1B6FBA1613; Tue, 13 Jan 2015 15:12:53 +0300 (MSK) Original-Received: from smtp3m.mail.yandex.net (localhost [127.0.0.1]) by smtp3m.mail.yandex.net (Yandex) with ESMTP id 3CBFB27A0277; Tue, 13 Jan 2015 15:12:53 +0300 (MSK) Original-Received: from unknown (unknown [195.239.22.162]) by smtp3m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 6NL9eMqny3-CqGqRJtk; Tue, 13 Jan 2015 15:12:52 +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=1421151172; bh=4ap50gwrBWySmyeF8F9LrRM+AOrgAb/f8czpq267DMM=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=c7bEaHWzb0q9vDxqRbNItQnoXhXpINrCj0CkjDNcvoTFJJYWFwOj2V2yEoJFD/Sfz H8ri3Ft68ARGZR/nEwaoAlfk9Q87wuTBSHbZzSC9vdEno8vgScoEOMR/8ouyuZ05FD Qeg4el2uhB7OZKcGX/lFBQLreKHDuPvgLZYHlwVQ= Authentication-Results: smtp3m.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 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 84.201.143.143 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:181216 Archived-At: On 01/13/2015 02:51 PM, Andreas Schwab wrote: > case $with_x_toolkit in > lucid | athena | motif) > # Old toolkits mishandle 'const'. > nw="$nw -Wwrite-strings" > ;; > *) > gl_WARN_ADD([-Werror], [WERROR_CFLAGS]) > ;; > esac Yes, but the question really was "how seriously we should treat warnings about XXX which might be clobbered by YYY" :-). Dmitry