[Hackage] #621: Generated CPP macros need parens

#621: Generated CPP macros need parens ----------------------------------+----------------------------------------- Reporter: AntoineLatter | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.6.0.1 Severity: normal | Keywords: Difficulty: very easy (<1 hour) | Ghcversion: Platform: | ----------------------------------+----------------------------------------- CPP directives such as: {{{ #if !MIN_VERSION_foo(1,2,3) }}} don't work, as the expanded version of MIN_VERSION_foo(x,y,z) does not include enclosing parenthesis. I can always do: {{{ #if !(MIN_VERSION_foo(1,2,3)) }}} but that's irritating. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/621 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#621: Generated CPP macros need parens
----------------------------+-----------------------------------------------
Reporter: AntoineLatter | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Cabal library | Version: 1.6.0.1
Severity: normal | Resolution: fixed
Keywords: | Difficulty: very easy (<1 hour)
Ghcversion: | Platform:
----------------------------+-----------------------------------------------
Changes (by duncan):
* status: new => closed
* resolution: => fixed
Comment:
Thanks. Applied.
{{{
Tue Dec 29 02:33:58 GMT 2009 Antoine Latter
participants (1)
-
Hackage