语言

Menu
Sites
Language
ArrayList in SDK 2.1 NOT Working!

ArrayList* pArrayList = new ArrayList(SingleObjectDeleter);

 

this line of code generate error: 

The type 'Tizen::Base::Collection::ArrayList' must implement the inherited pure virtual method 'Tizen::Base::Collection::IList::RemoveItems'

 

 

 

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

5 回复
john Smith
Seems strange, for me its working.Can you reinstall you SDK, might be there is some problem in installation.
john Smith
Hi, Check if you might be forget to include file.
john Smith
Hi, Sorry for the confusion, might be forget to include FBase.h header files in your application.
Xavier Seb
Had identical errors on ArrayList and also errors on (std::nothrow), ( #include FBase.h etc did not stop the errors ). Found a solution: Go to Project properties / C,C++ Build / Settings Click the Error Parsers tab, uncheck some of the error parsers (don't know which is the culprit). Press Apply Shutdown the IDE and restart it. Project / Clean If errors still appear repeat the process. Hope this helps somebody. P.S. Can somebody please tell me which of the error parsers is causing this, I was not able to narrow it down as my pc seems to come up with inconsistencies when I try to narrow it down.
Jesus Martinez
Hi, I had same problem and I solved it in the same way: 1) disabling CDT GNU Make Error Parser 6.0 (Deprecated) restard/clean/build and so but I then tried to restore default prefs (reenbling error parser in same order) and rebuild the problem never appears again so it's a little bit curious anyway, HybridServiceApp still not running...