cvs commit: fptools/libraries/base/Text/Regex Posix.hsc

Ross Paterson ross at soi.city.ac.uk
Fri Jan 28 05:16:00 EST 2005


On Thu, Jan 27, 2005 at 06:19:51AM -0800, Simon Peyton Jones wrote:
> simonpj     2005/01/27 06:19:51 PST
> 
>   Modified files:
>     libraries/base/Text/Regex Posix.hsc 
>   Log:
>   Fix regex.h include stuff; Ross and Malcolm might want to look at the new comment

The "hacky solution" is the only way offered by the FFI spec to specify
the include for foreign imports.  I gave up on that limitation some
time ago, and made the Hugs build system extract the -#include options
from GHC OPTIONS pragmas.  I think it would be better to have a less
compiler-specific equivalent, though.  An INCLUDE pragma?


More information about the Cvs-libraries mailing list