• 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
Hidden Virtual Functions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hidden Virtual Functions


  • Subject: Hidden Virtual Functions
  • From: William Rector <email@hidden>
  • Date: Mon, 23 May 2005 14:10:16 -0700

I'm using Xcode 2.0 OS X 10.4.1 and moving several C++ projects from CW 9.5 to Xcode.

I am getting a bunch of warnings of hidden virtual functions and am wondering if Xcode is really unabled to match the right virtual function or the message is bogus.
I have a base class with the following:
virtual    SInt32        ProcessKeyword(char* szKey,char* szParams);
virtual    SInt32        ProcessKeyword(UInt32 nKeyCode,char* szParams);
I keep getting 'warning: 'virtual SInt32 CTFReader::ProcessKeyword(char*,char*) was hidden.
I guess I will find out soon when I get past my libraries to one of my applications.

Also does anyone know how to turn off the annoying warnings for float/double to integer?
I shouldn't have to typecast this as the promotion rules are well known. Does anyone find this warning useful?

Lastly,
I had an CW include file with different capitalization of the #include filename than actual on diskfile name. This led to an warning message. I tried to correct this by deleting the .h reference in Xcode, which causes Xcode to crash. Known bug?
Thread 0 Crashed:
0   com.apple.CoreFoundation           0x9072d49c CFArrayGetCount + 52
1   com.apple.Xcode.DevToolsCore       0x955db6d4 -[PBXBuildPhase computeDependenciesForBuildFile:inTargetBuildContext:] + 328



Thanks,
Bill

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Hidden Virtual Functions
      • From: Clark Cox <email@hidden>
  • Prev by Date: How to work around this bug?
  • Next by Date: Re: cmath, math.h, and isnan
  • Previous by thread: Re: How to work around this bug?
  • Next by thread: Re: Hidden Virtual Functions
  • Index(es):
    • Date
    • Thread