Ticket #800 (closed bug: fixed)
GHC 6.5 enforces "-x c" option in the Cc phase making it impossibble to compile C++ files with ghc driver
| Reported by: | kyra@… | Owned by: | igloo |
|---|---|---|---|
| Priority: | high | Milestone: | 6.6.1 |
| Component: | Compiler | Version: | 6.6 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
GHC 6.4.x enforces "-x c" option ONLY for HCc phase. This makes possible to use GHC driver to compile C++ files.
GHC 6.5 enforces "-x c" option ALSO for Cc phase. Now ANY file compiled with "-x c" option is treated as "c" file, regardless of extension.
Change History
Note: See
TracTickets for help on using
tickets.
