On Feb 11, 2012, at 5:28 PM, stevens wrote:

> Unknown type name 'virtual'
> In file included from 
> /Users/stevens/MyWork/macdev/HelloArrow/HelloArrow/GLView.h:8:
> In file included from 
> /Users/stevens/MyWork/macdev/HelloArrow/HelloArrow/AppDelegate.h:10:
> In file included from 
> /Users/stevens/MyWork/macdev/HelloArrow/HelloArrow/main.m:11:


Well, that’s your problem. “.m” files aren’t compiled with C++ syntax enabled. 
Rename it to “main.mm” and you should be good.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to