Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20030929133921.8737.qmail@web14403.mail.yahoo.com> Date: Mon, 29 Sep 2003 06:39:21 -0700 (PDT) From: Gerry Reno Subject: Re: gcc 3.3.1 problem To: cygwin AT cygwin DOT com In-Reply-To: <20030929073422.95559.qmail@web14404.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Note-from-DJ: This may be spam It seems that you aren't supposed to return internal automatic references! :-) The compiler should have warned but didn't. --- Gerry Reno wrote: > I'm having a problem with gcc 3.3.1. Here is a sample program that > demos the problem: > > XYZ * somefunc () { > XYZ xyz; > XYZ *ptr = &xyz; xyz and *ptr need to be either static or made global. ===== Gerry Reno mailto: grenoml at@ yahoo dot. com (if mail bounces please retry later - spam rapidly fills up mailbox) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/