LancePutnam / Gamma

Generic (Sound) Synthesis Library
Other
458 stars 54 forks source link

Class template error in gen.h whan compiling in Xcode.... #27

Closed JoshuaBatty closed 9 years ago

JoshuaBatty commented 9 years ago

Hi Lance,

Just updated my computer and have downloaded the latest stable brach of Gamma and trying to link it with my Xcode project. Everything seems fine apart from the error seen below. I have successfully ran the examples from terminal but these 2 errors are stopping me from developing with gamma in my own project. Any idea why Xcode would be complaining about this?

screen shot 2014-09-20 at 1 40 12 pm

Cheers, Josh

LancePutnam commented 9 years ago

Hmmm, seems many compilers have gotten more strict about templates recently. Does it compile if you change them 'this->set(val)' and 'this->set(vals)'?

JoshuaBatty commented 9 years ago

Hi Lance, yep that seemed to do the trick! thanks for that!

LancePutnam commented 9 years ago

Great. The fix has been pushed to devel.