
#12628: __GLASGOW_HASKELL_LLVM__ is no longer an Int -------------------------------------+------------------------------------- Reporter: nicolast | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.2 Component: Driver | Version: 8.0.1 Resolution: | Keywords: llvm cpp Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Thanks nicolast! However, I wonder whether we should take this opportunity to apply a bit of foresight. In particular what happens when we reach LLVM 3.10? Or for that matter 10.0? Perhaps we should either, * split this macro up into `__GLASGOW_HASKELL_LLVM_MAJOR_VERSION__` and `__GLASGOW_HASKELL_LLVM_MINOR_VERSION__`, or * pad `__GLASGOW_HASKELL_LLVM__` with zeros to ensure that we have room to grow (although this would sadly not be backwards compatible). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12628#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler