From owner-freebsd-stable Wed Oct 9 8:21:48 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAADB37B401 for ; Wed, 9 Oct 2002 08:21:46 -0700 (PDT) Received: from mail.rfc1149.net (marvin.enst.fr [137.194.161.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B52243E4A for ; Wed, 9 Oct 2002 08:21:46 -0700 (PDT) (envelope-from sam@inf.enst.fr) Received: from beeblebrox.rfc1149.net (beeblebrox-tun.enst.fr [137.194.161.40]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "beeblebrox.rfc1149.net", Issuer "Top-level signer" (verified OK)) by mail.rfc1149.net (Postfix) with ESMTP id B99C2A8020 for ; Wed, 9 Oct 2002 17:21:44 +0200 (CEST) Received: from beeblebrox.enst.fr (beeblebrox [127.0.0.1]) by beeblebrox.rfc1149.net (Postfix) with ESMTP id 6D35A3D6 for ; Wed, 9 Oct 2002 17:21:43 +0200 (CEST) Date: Wed, 9 Oct 2002 17:21:42 +0200 To: Joe Talbott Cc: freebsd-stable@freebsd.org Subject: Re: gcc2.95.4 pointer not defined References: <20021009151803.GA14701@copper.eng.cstone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021009151803.GA14701@copper.eng.cstone.net> User-Agent: Mutt/1.4i Organization: Ecole Nationale Superieure des Telecommunications Reply-To: Samuel Tardieu Content-Transfer-Encoding: 8bit X-WWW: http://www.rfc1149.net/sam X-Mail-Processing: Sam's procmail tools X-Jabber: (see http://www.jabber.org/) X-OpenPGP-Fingerprint: 79C0 AE3C CEA8 F17B 0EF1 45A5 F133 2241 1B80 ADE6 (see http://www.gnupg.org/) X-Sam-Laptop: yes Message-Id: <2002-10-09-17-21-42+trackit+sam@inf.enst.fr> From: Samuel Tardieu X-Delivery-Agent: TMDA/0.62 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 9/10, Joe Talbott wrote: | /* pointer.c - pointer test */ | | #include | #include | | int main (void) { | int *ip; | | *ip = 50; | | printf ("%d\n", *ip); | | return (EXIT_SUCCESS); | } | | I've tried this on a RedHat box and a SunOS box both worked as expected. I don't get it, is there a pun? Segmentation fault seems quite reasonnable to me... Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message