1. CCBMFontConfiguration* getConfiguration() ->  CCBMFontConfiguration* getConfiguration() const;
2.  for (int i=0; i<actionList->count(); i++) ->  for (unsigned i=0; i<actionList->count(); i++)
3.  add #include <algorithm>.