[commit: base] encoding: Un-bump base version because MIN_VERSION doesn't work anyway (2ffa99d)

Max Bolingbroke batterseapower at hotmail.com
Wed Apr 6 22:24:23 CEST 2011


On 6 April 2011 18:04, Ian Lynagh <igloo at earth.li> wrote:
> On Wed, Apr 06, 2011 at 07:36:31AM -0700, Max Bolingbroke wrote:
>>
>>     Un-bump base version because MIN_VERSION doesn't work anyway
>
> Really? It should, as far as I know.

It doesn't seem to be defined when the libraries are built by the GHC
build system, only when they are built by the Cabal build system.
__GLASGOW_HASKELL__ is of course available and was suitable for my
needs, but it would be cool if MIN_VERSION_* was available as well.

When I got the errors about it being undefined it was on a .hsc file -
if it is meant to work, perhaps the problem is that the build system
isn't supplying the macros to hsc2hc?

Max



More information about the Cvs-libraries mailing list