foundationkit / FoundationKit

Everything that really should be in Foundation, but isn't. Future-proof with ARC
Other
80 stars 9 forks source link

Block based FKBenchmark to log execution time #43

Closed eaigner closed 12 years ago

eaigner commented 12 years ago

Might come in handy as utility function when optimizing time consuming processes.

myell0w commented 12 years ago

I changed the title from char* to NSString because I got a compiler-warning (assigning string literal to char* is deprecated), I hope you don't mind.

eaigner commented 12 years ago

No I don't. But why do you assign NSString * to a char * anyway?.

myell0w commented 12 years ago

I don't. the compiler warned me about the line

title = "";

Am 01.10.2011 um 12:30 schrieb Erik Aigner:

No I don't. But why do you assign NSString * to a char * anyway?.

Reply to this email directly or view it on GitHub: https://github.com/foundationkit/FoundationKit/pull/43#issuecomment-2256579

eaigner commented 12 years ago

Oh. Did you set additional compiler flags in your Xcode? Because mine never did warn about anything.

myell0w commented 12 years ago

I can't remember I set this flag, but it's

-Wdeprecated-writable-strings "conversion from string literal to char * is deprecated"

Am 02.10.2011 um 09:38 schrieb Erik Aigner:

Oh. Did you set additional compiler flags in your Xcode? Because mine never did warn about anything.

Reply to this email directly or view it on GitHub: https://github.com/foundationkit/FoundationKit/pull/43#issuecomment-2260892