From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#766: 23.0.60; interesting warning during compilation Date: Sun, 24 Aug 2008 06:13:12 +0300 Message-ID: References: <4762603A-B23E-454E-A43C-422DE5036DC4@Freenet.DE> <904AC839-3CCF-4AE3-956D-D482B0EE1955@Freenet.DE> Reply-To: Eli Zaretskii , 766@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1219548463 21071 80.91.229.12 (24 Aug 2008 03:27:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Aug 2008 03:27:43 +0000 (UTC) Cc: 766@emacsbugs.donarmstrong.com, bug-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 24 05:28:36 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KX6HM-0004vY-L3 for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Aug 2008 05:28:36 +0200 Original-Received: from localhost ([127.0.0.1]:39944 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KX6GO-0000Sa-Kj for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Aug 2008 23:27:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KX6GL-0000S7-4m for bug-gnu-emacs@gnu.org; Sat, 23 Aug 2008 23:27:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KX6GJ-0000R9-D0 for bug-gnu-emacs@gnu.org; Sat, 23 Aug 2008 23:27:32 -0400 Original-Received: from [199.232.76.173] (port=34849 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KX6GJ-0000R5-69 for bug-gnu-emacs@gnu.org; Sat, 23 Aug 2008 23:27:31 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49780) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KX6GI-0004rU-9s for bug-gnu-emacs@gnu.org; Sat, 23 Aug 2008 23:27:30 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7O3RSul028028; Sat, 23 Aug 2008 20:27:28 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7O3K60j025338; Sat, 23 Aug 2008 20:20:06 -0700 X-Loop: don@donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 24 Aug 2008 03:20:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 766 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 766-submit@emacsbugs.donarmstrong.com id=B766.121954760223480 (code B ref 766); Sun, 24 Aug 2008 03:20:06 +0000 Original-Received: (at 766) by emacsbugs.donarmstrong.com; 24 Aug 2008 03:13:22 +0000 Original-Received: from mtaout2.012.net.il (mtaout2.012.net.il [84.95.2.4]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7O3DI6i023465 for <766@emacsbugs.donarmstrong.com>; Sat, 23 Aug 2008 20:13:19 -0700 Original-Received: from HOME-C4E4A596F7 ([84.229.211.50]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K6300ME94YVVE40@i_mtaout2.012.net.il> for 766@emacsbugs.donarmstrong.com; Sun, 24 Aug 2008 06:13:43 +0300 (IDT) In-reply-to: <904AC839-3CCF-4AE3-956D-D482B0EE1955@Freenet.DE> X-012-Sender: halo1@inter.net.il X-CrossAssassin-Score: 2 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sat, 23 Aug 2008 23:27:32 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19677 Archived-At: > Cc: 766@emacsbugs.donarmstrong.com, > bug-gnu-emacs@gnu.org > From: Peter Dyballa > Date: Sun, 24 Aug 2008 00:23:29 +0200 > > Another option is to check whether the size of the variable is bigger > than four bytes. If you mean with sizeof, then the problem is that sizeof is not a preprocessing-time operator, so it cannot prevent the compiler from seeing the offending code.