• 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
Compiler Error on Class Method?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiler Error on Class Method?


  • Subject: Compiler Error on Class Method?
  • From: Dave <email@hidden>
  • Date: Wed, 21 Aug 2013 17:58:11 +0100

Hi,

I the following method generate an an:

 Implicit conversion of Objective-C pointer type 'Class' to C pointer type 'struct objc_class *' requires a bridged cast

on the line marked below:


+ (NSString*) cacheDirectoryPath
{
NSString* myReturnValue;													//**************** Error

[self.pDeveloperUtilities logEntryWithMethodName:@"+ cacheDirectoryPath",nil];

myReturnValue = [[super class] cacheDirectoryPath];

return (myReturnValue);
}


Any idea how to fix it would be greatly appreciated! I'm not sure why this is causing an error, it looks ok to me!

Thanks a lot
Dave
_______________________________________________

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


  • Follow-Ups:
    • Re: Compiler Error on Class Method?
      • From: Quincey Morris <email@hidden>
    • Re: Compiler Error on Class Method?
      • From: Keary Suska <email@hidden>
    • Re: Compiler Error on Class Method?
      • From: Alex Zavatone <email@hidden>
References: 
 >NSMethodSignature throws an exception encoding GLKMatrix4 (From: Jeff Kelley <email@hidden>)

  • Prev by Date: Re: NSMethodSignature throws an exception encoding GLKMatrix4
  • Next by Date: Don't worry - Fixed - Compiler Error on Class Method?
  • Previous by thread: Re: NSMethodSignature throws an exception encoding GLKMatrix4
  • Next by thread: Re: Compiler Error on Class Method?
  • Index(es):
    • Date
    • Thread