Known bugs in hmake


  • (Fixed in 3.11) If an import statement has a leading open-brace on the same line, due to explicit layout, it will not be recognised.
  • (Fixed in 3.10) If several import statements occur on the same line of a source file (separated by semicolons), then hmake will only recognise the first import on the line as a dependency.
  • (Fixed in 3.10) A Happy grammar (.y or .ly file) with a non-terminal name import confuses hmake, which reports that a module :: cannot be found.
  • Conflicting compiler options (e.g. both -fsomething and -fno-something for ghc) may (rarely) be re-ordered by hmake, such that the compiler treats the conflict in the opposite way to your intention. The exact circumstances in which any re-ordering happens are not currently pinned down.
  • Fixed in 3.09. Complex CPP #ifs involving chains of boolean operators, with or without parentheses, are occasionally parsed at the wrong precedence. Also, CPP line continuations are currently ignored. Both of these problems will be fixed in the next release.

The latest updates to this software are available on the WWW from http://www.haskell.org/hmake/
http://www.cs.york.ac.uk/fp/hmake/

Information last updated: 12th October 2005
York Functional Programming Group
Malcolm.Wallace@cs.york.ac.uk