Note that there are some explanatory texts on larger screens.

plurals
  1. PORegexKit and RegexKitLite with Xcode 4 gets "Semantic Issue" errors/warnings
    primarykey
    data
    text
    <p>I am using Xcode 4.3 on Mac OS X 10.7.3. Base SDK and Deployment is OS X 10.6.</p> <p>When I use RegexKitLite, I get lots of compiler warnings: <em>'Semantic Issue'</em><br> <strong>Passing 'void *volatile __strong *' to parameter of type 'void *__strong *' discards qualifiers</strong> <br>and<br> <strong>Passing 'void *volatile __strong *' to parameter of type 'void *__strong *volatile' discards qualifiers</strong></p> <p>Although they appear harmless, it is very annoying since I basically strive for zero warnings. There is no update to RegexKitLite since 2010/04/18, and no discussions about issues with Xcode 4 on sourceforge. With Xcode 3.2, I did not get those warnings.</p> <p>Is there a way to turn off all warnings only for RegexKitLite?<br> Or an update to RegexKitLite?</p> <p>I also attempted to install the framework RegexKit instead of RegexKitLite, but that package has not been updated since 2008/01/29, and instructions for install don't apply to Xcode 4, and there are no sourceforge discussions about issues, and not really elsewhere from what I have seen. Since the RegexKit framework is more powerful than the Lite version, I got interested in it, and at <a href="https://stackoverflow.com/questions/1240789/iphone-regexkit-vs-regexkit-lite-going-through-an-array-takes-very-very-long">iPhone: RegexKit vs. RegexKit lite - going through an array takes very very long</a> the author of these packages says that RegexKit outperforms the Lite version because it has many optimizations.</p> <p>Nevertheless, I installed RegexKit framework using hints from <a href="https://stackoverflow.com/questions/3352664/how-to-add-existing-frameworks-in-xcode-4">How to &quot;add existing frameworks&quot; in Xcode 4?</a> and <a href="http://www.thinketg.com/Company/Blogs/11-03-20/Xcode_4_Tips_Adding_frameworks_to_your_project.asp" rel="nofollow noreferrer">http://www.thinketg.com/Company/Blogs/11-03-20/Xcode_4_Tips_Adding_frameworks_to_your_project.asp</a> </p> <p>However, I get <em>'Semantic Issue'</em> also here, but now these are errors in the header file, and not just warnings:<br> <strong>Pointer to function type 'NSString *' may not be 'restrict' qualified</strong> <br>So it won't even compile!</p> <p>Is the RegexKit framework not even compatible with Xcode 4?</p> <p>I have found no info on this, except the link <a href="http://www.ohloh.net/p/AGP-Launcher/commits/126607585" rel="nofollow noreferrer">http://www.ohloh.net/p/AGP-Launcher/commits/126607585</a> which said that he "Changed to RegexKitLite as RegexKit isn't supported in XCode 4".</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload