#3389: CPP strips out C-style comments
------------------------------+---------------------------------------------
  Reporter:  nominolo         |          Owner:  igloo           
      Type:  feature request  |         Status:  new             
  Priority:  normal           |      Milestone:  6.14.1          
 Component:  Driver           |        Version:  6.10.2          
Resolution:                   |       Keywords:                  
Difficulty:  Unknown          |             Os:  Unknown/Multiple
  Testcase:                   |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown     |  
------------------------------+---------------------------------------------

Comment(by duncan):

 Replying to [comment:6 igloo]:

 > They could be switched to use Haskell comments, but I don't know if
 being able to include them in C files is also important; Duncan?

 The `cabal_macros.h` file can be included by C code and it'd be useful to
 do so. I guess if we ever switch to cpphs we would have the same problem.

 Note that the `cabal_macros.h` is not the only problem. Other packages
 #include header files that contain no C code but only macros and comments.

 Hmm.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3389#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to