Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building RMAppReceipt.m as Objective-C++ source fails #78

Closed
jcaille opened this issue May 26, 2014 · 0 comments
Closed

Building RMAppReceipt.m as Objective-C++ source fails #78

jcaille opened this issue May 26, 2014 · 0 comments

Comments

@jcaille
Copy link
Contributor

jcaille commented May 26, 2014

Hi ! I've started using RMStore, and I'm pretty happy with the ease of integration. However, I've noticed a small issue that is pretty easy to fix.

Description

Building the RMAppReceipt.m file in Objective-C++ fails due to use of the reserved keyword class and various implicit casts of void*to uint8_t *.

Steps to reproduce

In the demo project, either set the Compile Source asto Objective-C++in Xcode build settings or switch the RMAppReceipt.mfile type to Objective-C++ source.

Expected behavior

The project should build and run.

Actual behavior

A number of errors relating to the use of reserved keyword class and implicit casts are raised.

Proposed fix

I will create a pull request with the fix :

  • renaming class variables to clazz
  • explicititely casting all failing implicit casts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants