Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

*.cpphs files aren’t preprocessed with -D__HADDOCK__ when needed #117

bos opened this Issue May 24, 2012 · 2 comments


None yet
2 participants

bos commented May 24, 2012

(Imported from Trac #124, reported by g9ks157k on 2007-04-24)

If using Distribution.Simple together with *.cpphs files, Haddock doesn’t receive input files preprocessed with -D__HADDOCK__ but probably those files preprocessed for compilation. This removes the ability to include and exclude code depending on whether Haddock is run or not.


bos commented May 24, 2012

(Imported comment by @dcoutts on 2007-04-24)

This is likely to expire before we fix it. Pretty much everyone is using haddock 2.x now which does not need the HADDOCK define.


tibbe commented Jan 28, 2013

Optimistically closing as everyone should now be on haddock 2.x. Feel free to open a new bug if the problem reappears.

@tibbe tibbe closed this Jan 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment