From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 29 02:12:35 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3506416A403 for ; Thu, 29 Jun 2006 02:12:35 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFAC044DE7 for ; Thu, 29 Jun 2006 02:12:34 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.13.7/8.13.7) with ESMTP id k5T2Abqm031887; Wed, 28 Jun 2006 19:10:37 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.7/8.13.7/Submit) id k5T2AS04031886; Wed, 28 Jun 2006 19:10:28 -0700 (PDT) (envelope-from sgk) Date: Wed, 28 Jun 2006 19:10:28 -0700 From: Steve Kargl To: Randall Hyde Message-ID: <20060629021028.GA31866@troutmask.apl.washington.edu> References: <20060628181045.GA54915@curry.mchp.siemens.de> <44wtb12fu0.fsf@be-well.ilk.org> <004301c69b1d$164b5370$6302a8c0@pentiv> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004301c69b1d$164b5370$6302a8c0@pentiv> User-Agent: Mutt/1.4.2.1i Cc: freebsd-hackers@freebsd.org Subject: Re: Return value of malloc(0) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 02:12:35 -0000 On Wed, Jun 28, 2006 at 06:41:05PM -0700, Randall Hyde wrote: > Hi All, > I'm trying to port my compiler from Linux to freeBSD. It looked like a > simple job up to the point I ran my flex code through FLEX on freeBSD. When > GCC processes lex.yy.c I get a complaint about an illegal numeric constant > in yy_get_next_buffer, which is all FLEX generated (or prewritten) code. The > thing compiler just fine under Linux. Any ideas? > Cheers, > Randy Hyde > Without seeing the code or the actual error message, I'm guessing the answer is 42. Perhaps, some detail might be appropriate. -- Steve