Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23644 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31554 invoked by uid 1010); 25 May 2006 09:04:57 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 31539 invoked from network); 25 May 2006 09:04:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 May 2006 09:04:57 -0000 X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.5 (sometimes 2.4) (4) Received: from ([82.94.239.5:44116] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 18/E0-17316-73375744 for ; Thu, 25 May 2006 05:04:56 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.13.6/8.12.11) with ESMTP id k4P94nfo004580; Thu, 25 May 2006 11:04:49 +0200 Date: Thu, 25 May 2006 11:04:42 +0200 (CEST) X-X-Sender: derick@localhost To: "Frank M. Kromann" cc: internals@lists.php.net In-Reply-To: <11485317374920000@9866357972520000.9866341568840000> Message-ID: References: <11485317374920000@9866357972520000.9866341568840000> X-Face: "L'&?Ah3MYF@FB4hU'XhNhLB]222(Lbr2Y@F:GE[OO;"F5p>qtFBl|yVVA&D{A(g3[C}mG:199P+5C'v.M/u@Z\![0b:Mv.[l6[uWl' MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Compile error on ext/date/lib/parse_date.c From: derick@php.net (Derick Rethans) On Wed, 24 May 2006, Frank M. Kromann wrote: > Hello All, > > My hard disk crashed over the weekend and after reinstalling everything on > a new drive I'm getting the folowing error: > > c:\php\php5_2\ext\date\lib\parse_date.re(759) : fatal error C1053: '_scan' > : function too large > NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2' > Stop. Too large? :) I know this function *is* pretty big because it is generated from re2c but it is funny that this MS compiler doesn't like it. > I'm using Visual Studio .NET 2003 and that's the same version I have been > using for a while without problems. > > A quick fix is to remove /Ox from CFLAGS in the Makefile when compiling > this file. What does this /Ox thingy do? regards, Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org