astellato / ofxSyphon

An OF add-on for using the Syphon framework.
Other
193 stars 57 forks source link

Range based for loops #12

Closed Nil0 closed 10 years ago

Nil0 commented 10 years ago

I think most users on osx compile by gcc 4.2 which does not know range based for loops. Would it be possible for you to not use them in order to make your otherwise brilliant software available to as many as possible?

bangnoise commented 10 years ago

Clang/llvm has been the default compiler on OS X for some time.

If you simply must have gcc 4.2 support we would likely accept a pull request with changes.

Nil0 commented 10 years ago

It is not a must have. I develop in Xcode 3, and they apparently still use gcc4.2 as standard. I believe that gcc 4.6 supports range based for. Not until dec 2011 in llvm 3.0, range based for was available. I guess many Macs were bought before that. The one I use now is a 3 years old osx 10.6.8 with llvm 1.7. What is your dev environment? I will try to move in that direction.

bangnoise commented 10 years ago

Update Xcode to the latest version your OS version will run.

bangnoise commented 10 years ago

Closing this 'cos it's 2014