Re: unknown type name virtual when using c++ in Xcode 4.2.1
Re: unknown type name virtual when using c++ in Xcode 4.2.1
- Subject: Re: unknown type name virtual when using c++ in Xcode 4.2.1
- From: stevens <email@hidden>
- Date: Sat, 11 Feb 2012 16:19:19 +0800
On 2012-2-11, at 下午3:25, Jens Alfke wrote:
>
> On Feb 10, 2012, at 4:15 AM, stevens wrote:
>
>> When I compiled this code in Xcode 4.2.1(OS X Lion 10.7.3),it reported that IRenderingEngine.hpp: error: unknown type name 'virtual' .
>
> What source file was it trying to compile at the time? (I.e. which file was #including that header?)
>
> —Jens
Files should be compile:
AppDelegate.h
AppDelegate.mm
GLView.h
GLView.mm
RenderingEngine1.cpp
IRenderingEngine.hpp
defs.h(I have defined CODE_VERSION in this file)
--stevens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden