From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 6 19:43:19 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA84D106566B for ; Tue, 6 Jul 2010 19:43:19 +0000 (UTC) (envelope-from mdf356@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9F6618FC12 for ; Tue, 6 Jul 2010 19:43:19 +0000 (UTC) Received: by pvh1 with SMTP id 1so201073pvh.13 for ; Tue, 06 Jul 2010 12:43:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=XRJ1PNym1PnhrUPpTKKQpmBkr1COpW7Gevj1VfVxUxE=; b=ms0jdbVEDm8o8uV/B5n2YTGAxYDhsS9TMi6wq+i7tSSjVbvndtF60pMgzeksU5Zn/m tt0bauNOF1tps/uFtkBbrJ5ilMUh7G2jAZw9cNn3Gj/TqwryExBsDrOtRihYAA8XffUC agLskV2gU5/4CBdouEOCCHeHXE0/jgV0HSKyQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=VV05+x275SAlJxoEQEE6EkC5mGDz/9tAp/sbbbzxdEPbu2huipsuvYGMTB6gBbi2EY i5t4Gl6eQaz8ALXZTczIvkkMte8UOrfPgpMRVgdli+CnHPkcGPajBeqH9KSsRAkoKO9l Fxllh6dZmYpJu5wiMQUOPZOGU1TAm5rKgjJCo= MIME-Version: 1.0 Received: by 10.142.171.7 with SMTP id t7mr6238153wfe.211.1278445394284; Tue, 06 Jul 2010 12:43:14 -0700 (PDT) Received: by 10.42.5.78 with HTTP; Tue, 6 Jul 2010 12:43:14 -0700 (PDT) In-Reply-To: <4C2E7BCD.4020609@delphij.net> References: <4C2E7BCD.4020609@delphij.net> Date: Tue, 6 Jul 2010 12:43:14 -0700 Message-ID: From: Matthew Fleming To: d@delphij.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Garrett Cooper , freebsd-hackers@freebsd.org Subject: Re: Using lex in a shared library 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: Tue, 06 Jul 2010 19:43:19 -0000 On Fri, Jul 2, 2010 at 4:52 PM, Xin LI wrote: > I think you could probably just change the code and use %option noyywrap > in the .l file? =A0(do your code call yywrap() directly?) The code doesn't use yywrap directly, and this has fixed the build for amd6= 4. Thanks! matthew