From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: wrong behaviour of Date: Thu, 02 Dec 2010 14:14:44 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291302753 595 80.91.229.12 (2 Dec 2010 15:12:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Dec 2010 15:12:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: alin soare Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 02 16:12:28 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1POApc-0007e5-CC for ged-emacs-devel@m.gmane.org; Thu, 02 Dec 2010 16:12:24 +0100 Original-Received: from localhost ([127.0.0.1]:52832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POApb-0005t4-H9 for ged-emacs-devel@m.gmane.org; Thu, 02 Dec 2010 10:12:23 -0500 Original-Received: from [140.186.70.92] (port=51744 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PO92B-0000oM-2k for emacs-devel@gnu.org; Thu, 02 Dec 2010 08:19:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PO8zq-0007Tz-6z for emacs-devel@gnu.org; Thu, 02 Dec 2010 08:17:04 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.10]:51382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PO8zp-0007T3-S9 for emacs-devel@gnu.org; Thu, 02 Dec 2010 08:14:50 -0500 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 41A13186DEDE; Thu, 2 Dec 2010 14:14:45 +0100 (CET) Original-Received: from hase (ppp-88-217-120-23.dynamic.mnet-online.de [88.217.120.23]) by mail.mnet-online.de (Postfix) with ESMTP id 024FC1C00103; Thu, 2 Dec 2010 14:14:44 +0100 (CET) X-Yow: I'm ANN LANDERS!! I can SHOPLIFT!! In-Reply-To: (alin soare's message of "Thu, 2 Dec 2010 08:54:10 +0000 (UTC)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:133310 Archived-At: alin soare writes: > I defined within the struct frame an integer variable > > int ct; > > If I define it immediately after the menu_bar_vector, it is initialized > somewhere with the pointer value of Qnil. (&Qnil) Read the comments. /* All Lisp_Object components must come first. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."