#14784: RTS header files can't be used with a C++ compiler -------------------------------------+------------------------------------- Reporter: niteria | Owner: hvr Type: bug | Status: patch Priority: highest | Milestone: 8.6.3 Component: Runtime System | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D5244 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"134de45117bdbb031f513734b84403443e083fbe/ghc" 134de451/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="134de45117bdbb031f513734b84403443e083fbe" includes: Allow headers to be built with C++11 compilers Summary: Fixes #14784. Note that C++11 is quite conservative; we could likely accept C++03 as well. Test Plan: ``` $ cat >hi.c <<EOF #include <Rts.h> EOF $ g++ -std=c++11 hi.c ``` Reviewers: simonmar, hvr Subscribers: rwbarton, carter GHC Trac Issues: #14784 Differential Revision: https://phabricator.haskell.org/D5244 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14784#comment:7> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler