RingBuffer.h - class RingBuffer syntax error
beecon opened this issue · 3 comments
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.
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.
@aldeed That didn't solve the problem
A working solution is provided in #17