• 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
Quieting TArray hidden virtual warnings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Quieting TArray hidden virtual warnings


  • Subject: Quieting TArray hidden virtual warnings
  • From: Daniel Jalkut <email@hidden>
  • Date: Sat, 30 Jul 2005 18:08:30 -0400


I'm converting a PowerPlant-based project from Metrowerks to Xcode. A large source of warnings are hidden virtual methods from concrete instances of TArray. I've searched the web and discovered that this aspect of the TArray class in PowerPlant is well known, and it's accepted that the warnings are "safe" and can be turned off. I'd rather not turn off the warning across the board. I have seen it suggested that warnings can be enabled/disabled on a file-by-file basis in Xcode, but this doesn't seem to work for header files - which is where all of my TArray declarations are found! For example, many of the errors arise during my precompiled header compile, so I added this to my precomp.h file: "-Wno-overloaded-virtual". This doesn't seem to get passed through by Xcode for the compile of that header, though.


Has anybody solved this problem or have any advice? Turning the warning off for the entire target does the trick, but as I said I'd like to keep this warning because it's saved me a few times in the past...

Daniel

_______________________________________________
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


  • Prev by Date: Re: XCode editor intolerably slow
  • Next by Date: Re: XCode editor intolerably slow
  • Previous by thread: Re: Debugger Arrow off by a few lines
  • Next by thread: Re: XCode books
  • Index(es):
    • Date
    • Thread