[prev in list] [next in list] [prev in thread] [next in thread]
List: haskell
Subject: Re: [Haskell] new release of Hugs / preprocessor usage
From: Ross Paterson <ross () soi ! city ! ac ! uk>
Date: 2006-05-16 9:27:05
Message-ID: 20060516092705.GA3773 () soi ! city ! ac ! uk
[Download RAW message or body]
On Tue, May 16, 2006 at 11:18:16AM +0200, Christian Maeder wrote:
> How do I use the preprocessor option -F of hugs?
>
> Without this option hugs correctly reports: unexpected symbol "#"
>
> But adding "-Fcpphs" results in "Unable to load Prelude"
The problem is that cpphs (like other C preprocessors) puts #line
directives in its output, and they're not Haskell. But you can
tell it not to with "hugs -F'cpphs --noline'".
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic