From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 29 05:08:37 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 B373D16A417 for ; Thu, 29 Jun 2006 05:08:37 +0000 (UTC) (envelope-from matt@gsicomp.on.ca) Received: from gabby.gsicomp.on.ca (CPE00062566c7bb-CM0011e6ede298.cpe.net.cable.rogers.com [70.28.254.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F85D4496F for ; Thu, 29 Jun 2006 05:08:37 +0000 (GMT) (envelope-from matt@gsicomp.on.ca) Received: from localhost (localhost [127.0.0.1]) by gabby.gsicomp.on.ca (Postfix) with ESMTP id 07EFC62AB; Thu, 29 Jun 2006 01:40:41 -0400 (EDT) Received: from unknown by localhost (amavisd-new, unix socket) id client-9QMkHqrZ; Thu, 29 Jun 2006 01:40:29 -0400 (EDT) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by gabby.gsicomp.on.ca (Postfix) with ESMTP id 2903A60F4; Thu, 29 Jun 2006 01:40:29 -0400 (EDT) Message-ID: <004e01c69b3a$4ba8cd00$1200a8c0@gsicomp.on.ca> From: "Matt Emmerton" To: "Steve Kargl" , "Randall Hyde" References: <20060628181045.GA54915@curry.mchp.siemens.de><44wtb12fu0.fsf@be-well.ilk.org><004301c69b1d$164b5370$6302a8c0@pentiv> <20060629021028.GA31866@troutmask.apl.washington.edu> Date: Thu, 29 Jun 2006 01:10:10 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Virus-Scanned: amavisd-new at gsicomp.on.ca 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 05:08:37 -0000 ----- Original Message ----- From: "Steve Kargl" To: "Randall Hyde" Cc: Sent: Wednesday, June 28, 2006 10:10 PM Subject: Re: Return value of malloc(0) > 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. A new thread with a proper subject would be appropriate too :) -- Matt