[cvs-nhc98] Mysterious message...
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Sun Jun 13 08:35:33 EDT 2004
Sven Panne <Sven.Panne at aedion.de> writes:
> During my HOpenGL crusade against nhc98, I came across heavy resistance: :-]
>
> /usr/src/packages/BUILD/nhc98-1.17/script/nhc98 -c -cpp -I/usr/src/packages/BUILD/nhc98-1.17/include/packages/OpenGL -package base -Iinclude -DCALLCONV=ccall -o /usr/src/packages/BUILD/nhc98-1.17/targets/ix86-Linux/obj/libraries/OpenGL/Graphics/Rendering/OpenGL/GLU/Matrix.o Graphics/Rendering/OpenGL/GLU/Matrix.hs
> Fail: Can't find int for (NHC.Internal._mkIOok14,Identifier)
>
> What is nhc98 trying to tell me here? %-)
The file in question defines a foreign imported IO action of arity 14,
but nhc98 can only cope up to arity 12 at present.
I would guess it is 'gluUnProject4'.
Have a look in src/prelude/Internal/Internal.hs where _mkIOok[0..12]
are defined. Just for you, I have now checked in functions up to
arity 15. (Don't forget to 'make prelude' again, or you will get
link errors.)
Regards,
Malcolm
More information about the Cvs-nhc98
mailing list