[Haskell-cafe] Parse error when #ifdef pragma enabled
robstewart57 at gmail.com
Mon Apr 28 20:35:54 UTC 2014
On 28 April 2014 20:32, Robert Vollmert <rvollmert-lists at gmx.net> wrote:
> You’re defining ‘CUDA’ to be replaced by the empty string, so after running through CPP, you’ll have
> module CPP where
> import qualified Data.Array.Accelerate. as
> (Haven’t actually tested this, but it’s what cpp should do, and explains the error message nicely.)
> Try using ‘-DWITHCUDA’ or something similar?
Works as you might expect, thanks!
More information about the Haskell-Cafe