Steve Singer ssinger at ca.afilias.info
Wed May 5 07:51:51 PDT 2010
Jan Wieck wrote:
> On 5/1/2010 5:26 PM, Steve Singer wrote:
>> David Fetter wrote:
>>> Folks,

> 
> I think the intention of the patch is to look for a suitable size_t and 
> fallback to int if none was found.

The patch seemed to address 1 things

1) Support for newer autoconfs, which seems to not break the older 2.59. 
  I am happy committing that portion of the patch (attached here, also 
available as commit b77b608d63cab2a4519f66f7436a29cc808b502a on the 
REL2_0_PROPOSED_ssinger branch at my git mirror 
(git://github.com/ssinger/slony.git) of the code.

2) The issue with the datatype to use for yyleng.  I would like to know 
the actual error your getting on osx and what version of flex it is 
using. If it really should be size_t then this patch isn't sufficient 
(we need to change all imports of yyleng) but as Jan points out that 
doesn't seem right on some platforms.

Can someone with easy access to an osx machine try building slony with 
the above autoconf patch applied and report on what is happening?

Thanks





> 
> However, in my flex skeleton file (flex 2.5.35 FreeBSD) it is defined as 
> extern int. That is why scan.c has it as int, because the extern 
> declaration in there is coming from the skeleton, not the scan.l file.
> 
> 
> Jan
> 


-- 
Steve Singer
Afilias Canada
Data Services Developer
416-673-1142
-------------- next part --------------
A non-text attachment was scrubbed...
Name: autoconf_fixes.diff
Type: text/x-patch
Size: 3050 bytes
Desc: not available
Url : http://lists.slony.info/pipermail/slony1-patches/attachments/20100505/adcad19b/attachment.bin 


More information about the Slony1-patches mailing list