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

RingBuffer.h - class RingBuffer syntax error #130

Open
beecon opened this issue Jul 7, 2017 · 3 comments
Open

RingBuffer.h - class RingBuffer syntax error #130

beecon opened this issue Jul 7, 2017 · 3 comments

Comments

@beecon
Copy link

beecon commented Jul 7, 2017

Sorry if this a stupid question. Just wondering if anyone could shred a light on this... I've imported all Novocaine files to my project and renamed the files that will use Novocaine to .mm Just this error on RingBuffer.h refuses to go away during compiling:

RingBuffer.h:31:1: Unknown type name 'class'; did you mean 'Class'?
Parse Issue: RingBuffer.h:31:17: Expected ';' after top level declarator

Is it anything I could be missing, like a compiler setting or a flag option somewhere else? I'm using Xcode 8.33 and iOS deployment target 10. Thanks in advance.

@aldeed
Copy link

aldeed commented Jan 5, 2018

This will go away if you select the file, and in the Identity and Type section on the right side, choose C++ Header for the type.

@salvatore373
Copy link

@aldeed That didn't solve the problem

@salvatore373
Copy link

A working solution is provided in #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants