• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: unknown type name virtual when using c++ in Xcode 4.2.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >unknown type name virtual when using c++ in Xcode 4.2.1 (From: stevens <email@hidden>)
 >Re: unknown type name virtual when using c++ in Xcode 4.2.1 (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: unknown type name virtual when using c++ in Xcode 4.2.1
  • Next by Date: Re: Lion: Lock documents and custom undomanager
  • Previous by thread: Re: unknown type name virtual when using c++ in Xcode 4.2.1
  • Next by thread: ARC in Snow Leopard?
  • Index(es):
    • Date
    • Thread