Ticket #800 (closed bug: fixed)

Opened 7 years ago

Last modified 5 years ago

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

Changed 7 years ago by Lemmih

  • status changed from new to closed
  • resolution set to fixed

Changed 7 years ago by simonpj

  • status changed from closed to reopened
  • version changed from 6.5 to 6.6
  • resolution fixed deleted
  • milestone set to 6.6.1

Changed 7 years ago by simonpj

  • owner set to igloo
  • status changed from reopened to new

Changed 7 years ago by simonmar

  • priority changed from normal to high

Changed 7 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

I've now pushed the fix to the 6.6 branch.

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.