With Xcode 4.3 on Mac OS X 10.7.3, I get lots of compiler warnings "Semantic Issue" for RegexKitLite:
Passing 'void *volatile __strong *' to parameter of type 'void *__strong *' discards qualifiers
and
Passing 'void *volatile __strong *' to parameter of type 'void *__strong *volatile' discards qualifiers
Although they appear harmless, it is very annoying since I basically strive for zero warnings since that makes it much easier to be alerted of warnings for my own code. With Xcode 3.2, I did not get those warnings for RegexKitLite.
Any chance of an update to RegexKitLite?
Last version is from 2010/04/18.
PS: I develop for Deployment and Base SDK OS X 10.6, so NSRegularExpression is not really an option.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
With Xcode 4.3 on Mac OS X 10.7.3, I get lots of compiler warnings "Semantic Issue" for RegexKitLite:
Passing 'void *volatile __strong *' to parameter of type 'void *__strong *' discards qualifiers
and
Passing 'void *volatile __strong *' to parameter of type 'void *__strong *volatile' discards qualifiers
Although they appear harmless, it is very annoying since I basically strive for zero warnings since that makes it much easier to be alerted of warnings for my own code. With Xcode 3.2, I did not get those warnings for RegexKitLite.
Any chance of an update to RegexKitLite?
Last version is from 2010/04/18.
PS: I develop for Deployment and Base SDK OS X 10.6, so NSRegularExpression is not really an option.
I'd like to comment that at stackoverflow, I got a useful answer on how to silence the warnings:
With clang, I silenced the warnings as follows:
At the top of RegexKitLite.m:
And at the bottom: