Re: [pcre-dev] [Bug 664] ABI breakage in PCRE 7.6

Top Page
Delete this message
Author: Craig Silverstein
Date:  
To: csilvers, ph10
CC: pcre-dev, 664
Subject: Re: [pcre-dev] [Bug 664] ABI breakage in PCRE 7.6
} Hmm, that *is* a problem. I have access to an os x machine, so I'll
} play around with this next week and see if I can figure out a
} solution.

Thinking about it more, I vaguely recall reading somewhere that mach-o
doesn't support aliases (that must be what the "this configuration"
part of the error message means), so there's no way to get this
technique to work on os x systems.

I think there are two options going forward:

1) Conditionally comment out the alias code for mach-o systems, and
just live with the fact there is an ABI break between pcre 7.4 and
7.6 for those systems; or

2) Roll back the change I made that broke the ABI in the first place.
This would mean that the problem it fixed -- something to do with
windows compilation, but only in certain compile modes -- would
remain broken.

I think that the change in question not only fixes a bug but is also
cleaner, and I wish we had coded it that way originally (thus avoiding
any ABI-regression issues as well...) But we didn't, so I'm not sure
what the best way to go is. Philip, I guess the final word is yours.

craig