QTMovieApertureModeClean is unavailable warning in Leopard
QTMovieApertureModeClean is unavailable warning in Leopard
- Subject: QTMovieApertureModeClean is unavailable warning in Leopard
- From: "Martin Redington" <email@hidden>
- Date: Fri, 9 Nov 2007 05:35:04 +0000
I've got some Tiger code that references QTMovieApertureModeClean, as
well as QTMovieApertureModeAttribute and
GenerateMovieApertureModeDimensions, for which I get the same
symptoms.
I debated whether to post here or a quicktime list, but I'll try here first.
On Tiger, this code compiles without error.
On Leopard, the same project (still targeting 10.4) generates
QTMovieApertureModeClean is unavailable (declared at
/Developer/SDKs/MacOSX10.4u.sdk/S/L/F/QTKit.framework/Headers/QTMovie.h:120)
and similarly for the other symbols.
Looking in the header, QTMovieApertureModeClean is declared as
QTKIT_EXTERN NSString
*QTMovieApertureModeClean AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
so this is presumably as intended.
The symbols are all in iPhone movie export code, which is closely
modelled on the pre-Leopard Apple sample code, so I'm guessing these
were Leopard symbols, that bled back into Tiger to support the iPhone
movie export.
What I'm puzzled by is ...
How come Xcode 2.4.1 on Tiger wasn't warning me about this? I should
have all warnings on. Is this a new warning in Xcode 3.0?
Is there any easy way to suppress these warnings for these particular
symbols only?
Given that there are only three of them, even if it's a hacky ifdef,
as long as its effects are constrained, I'd very much like to get the
code compiling completely cleanly again. I need to keep targeting 10.4
for now.
cheers,
Martin
--
http://www.mildmanneredindustries.com/
_______________________________________________
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