Re: configure, hmake, and nhc98



About this list Date view Thread view Subject view Author view

Malcolm Wallace (malcolm-nhc@cs.york.ac.uk)
Thu, 22 Mar 2001 13:00:11 +0000


Ralf, Thanks for the bug reports, and sorry for the delay in replying - we have been busy for a few days, conducting user tests of Hat, GHood, and Freja (tracing/debugging tools for Haskell). > 1. configure script: > the test for the readline library does not work on my linux box: > To cure the problem I simply added `-lncurses'. I have added the extra test for -lncurses to the script for future releases. > 2. hmake: > hmake inserts the -cpp directive even if this is not required. This behaviour is definitely incorrect. I have not yet found the cause. > 3: nhc98. > The renamer does not work for the program posted here: > http://www.cs.uu.nl/~ralf/software.html#psq > > nhc98 -c -cpp -o BinPacking.o BinPacking.lhs > ==================================== > Error when renaming:: > Identifier empty defined 2 times. nhc98 has a bug in the interaction between an "import .. hiding .." clause, and an explicit export of a defined entity that has the same name as the hidden imported entity. It seems that both entities are exported - including the hidden one! If you look in Balanced.hi, you will see both Balanced.empty and Sequ.empty. This conflict is only reported when another module (BinPacking.lhs) tries to use the incorrect interface file. I have managed to locate and fix this bug, but unfortunately the fix triggers another import/hiding bug which was previously masked. I'll let you know when I have a complete fix. Regards, Malcolm


About this list Date view Thread view Subject view Author view