alexbw / novocaine

Painless high-performance audio on iOS and Mac OS X
http://alexbw.github.com/novocaine/
MIT License
2.23k stars 273 forks source link

RingBuffer.h - class RingBuffer syntax error #130

Open beecon opened 7 years ago

beecon commented 7 years ago

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 commented 6 years ago

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 commented 5 years ago

@aldeed That didn't solve the problem

salvatore373 commented 5 years ago

A working solution is provided in #17