Date: Mon, 31 May 1999 20:19:26 +0200 To: pgcc AT delorie DOT com Subject: Re: a bug with -mk6 switch? Message-ID: <19990531201926.M2840@cerebro.laendle> Mail-Followup-To: pgcc AT delorie DOT com References: <19990521084930 DOT A2164 AT puck DOT txc DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <19990521084930.A2164@puck.txc.com>; from Igor Schein on Fri, May 21, 1999 at 08:49:30AM -0400 X-Operating-System: Linux version 2.2.9 (root AT cerebro) (gcc driver version pgcc-2.91.66 19990314 (egcs-1.1.2 release) executing gcc version 2.7.2.3) From: Marc Lehmann Reply-To: pgcc AT delorie DOT com X-Mailing-List: pgcc AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Fri, May 21, 1999 at 08:49:30AM -0400, Igor Schein wrote: > Hi, > > I noticed that if I compile with -mk6 switch, and my code contains > a variale k6, then the compilation fails with an error. > I haven't checked for other -mcpu switches, but I wouldn't be > surprise if it were the same. thats probably because it defines the symbol k6 to be empty. you can fix that by using rthe -ansi switch. -- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg AT goof DOT com |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |