#871: Library with test builds the test executable against the library's cabal_macros.h ----------------------------+----------------------------------------------- Reporter: AntoineLatter | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.10.1.0 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ----------------------------+----------------------------------------------- Things like 'VERSION_package' may not only be wrong, but may cause compile errors if the library doesn't include the package in question (but the test does).
This is likely to come up in a MIN_VERSION_criterion or MIN_VERSION_HUnit case. This might only be a problem if the test executable is using the new "build against a compiled version of the library" technique - I haven't played around too much. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/871> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel