Skip to content

Instantly share code, notes, and snippets.

@Lytol
Created December 22, 2010 23:20
Show Gist options
  • Save Lytol/752279 to your computer and use it in GitHub Desktop.
Save Lytol/752279 to your computer and use it in GitHub Desktop.
RegexKit.framework/Headers/RKRegex.h:79:38 Pointer to function type 'NSString *' may not be 'restrict' qualified
// The `define restrict` is there because XCode doesn't want to compile
// RegexKit with the restrict qualifiers.
#define restrict
#import <RegexKit/RegexKit.h>
@Lytol
Copy link
Author

Lytol commented Feb 2, 2011

It's easy to fix, but not very elegant (and removes any compiler optimizations based on the restrict keyword). See updated gist.

@kgn
Copy link

kgn commented Feb 2, 2011

Cool thanks, that did the trick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment