#715: Compile fails for ghc HEAD
----------------------------------+-----------------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: bug | Status: new
Priority: high | Milestone: 6.6
Component: Compiler | Version: 6.5
Severity: critical | Resolution:
Keywords: compile build error | Os: Linux
Difficulty: Unknown | Architecture: x86
----------------------------------+-----------------------------------------
Changes (by [EMAIL PROTECTED]):
* priority: normal => high
* cc: => [EMAIL PROTECTED]
Comment:
OK, the formatting got totally screwed up. Here is the output again,
hopefully not so screwed up:
{{{
------------------------------------------------------------------------
==fptools== make all -wr -f Makefile;
in /home/ayqazi/src/packages/ghc/ghc-build/libraries/OpenAL
------------------------------------------------------------------------
../../ghc/compiler/ghc-inplace -H32m -O -W -fno-warn-unused-matches
-fwarn-unused-imports -Wall -fffi -Iinclude '-#include "HsOpenAL.h"' -cpp
-DCALLCONV=ccall -ignore-package OpenAL -package base -package OpenGL
-fgenerics -split-objs -c Sound/OpenAL/ALC/Capture.hs -o
Sound/OpenAL/ALC/Capture.o -ohi Sound/OpenAL/ALC/Capture.hi
Sound/OpenAL/ALC/Capture.hs:85:3:
Couldn't match expected type `NumSamples'
against inferred type `Sound.OpenAL.Config.ALCint'
Expected type: GettableStateVar NumSamples
Inferred type: GettableStateVar Sound.OpenAL.Config.ALCint
In the expression:
makeGettableStateVar $ (getInteger (Just device) CaptureSamples)
In the definition of `captureNumSamples':
captureNumSamples device
= makeGettableStateVar $ (getInteger (Just
device) CaptureSamples)
make[2]: *** [Sound/OpenAL/ALC/Capture.o] Error 1
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/ayqazi/src/packages/ghc/ghc-
build/libraries'
make: *** [build] Error 1
make: Leaving directory `/home/ayqazi/src/packages/ghc/ghc-build'
}}}
Can't I list some text that gets wrapped AND doesn't get screwed up by the
formatting engine?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/715>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs