[GHC] #10700: include/stg/Prim.h isn't C++ compatible
GHC
ghc-devs at haskell.org
Thu Jul 30 15:04:40 UTC 2015
#10700: include/stg/Prim.h isn't C++ compatible
-------------------------------------+-------------------------------------
Reporter: Fabian | Owner: rasen
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Compiler (FFI) | Version: 7.10.1
Resolution: | Keywords: FFI,
| newcomers
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions: Phab:D1107
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"e7c331af4674dd072a9f1d67feb586679b365b98/ghc"
e7c331af/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="e7c331af4674dd072a9f1d67feb586679b365b98"
Make headers C++ compatible (fixes #10700)
Some headers used `new` as parameter name, which is reserved word in
C++. This patch changes these names to `new_`.
Test Plan: validate
Reviewers: austin, ezyang, bgamari, simonmar
Reviewed By: simonmar
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1107
GHC Trac Issues: #10700
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10700#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list