Opened 8 years ago

Closed 7 years ago

Last modified 6 years ago

#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 (7)

comment:1 Changed 8 years ago by Lemmih

  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 7 years ago by simonpj

  • Milestone set to 6.6.1
  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Version changed from 6.5 to 6.6

comment:3 Changed 7 years ago by simonpj

  • Owner set to igloo
  • Status changed from reopened to new

comment:4 Changed 7 years ago by simonmar

  • Priority changed from normal to high

comment:5 Changed 7 years ago by igloo

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:6 Changed 6 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple

comment:7 Changed 6 years ago by simonmar

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