Added some useful warnings after upgrade to xcode 4.6
some testing.
Preliminary done, now using std::chrono.