patch applied (cabal): Fix cabal_macros.h for package names containing '-'

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Wed Sep 3 19:32:16 EDT 2008


Wed Sep  3 15:01:16 PDT 2008  Duncan Coutts <duncan at haskell.org>
  * Fix cabal_macros.h for package names containing '-'
  As with the Paths_pkgname module, we map '-' to '_' as the
  former is not a valid character in cpp macro identifiers.
  Fixes cpp redefinition warnings. First reported by gwern.

    M ./Distribution/Simple/Build/Macros.hs -1 +5

View patch online:
http://darcs.haskell.org/cabal/_darcs/patches/20080903220116-adfee-8128a7edb6f0b8072c0dc60838d4a6b144237502.gz



More information about the cabal-devel mailing list