Hi Derick, These are the optimization options:
/O1 minimize space /Op[-] improve floating-pt consistency /O2 maximize speed /Os favor code space /Oa assume no aliasing /Ot favor code speed /Ob<n> inline expansion (default n=0) /Ow assume cross-function aliasing /Od disable optimizations (default) /Ox maximum opts. (/Ogityb2 /Gs) /Og enable global optimization /Oy[-] enable frame pointer omission /Oi enable intrinsic functions And here is a link to what MS has to say about the problem: http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B113116 I can try to see if there is a way to remove the /Ox for this file without doing it for the rest of the files. - Frank - Frank > 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php