9 years, 6 months ago.

Compiler error on auto_ptr

Hi Guys,

I got the following error:

Error: No instance of constructor "std::auto_ptr<_TypeT>::auto_ptr [with _TypeT=TaskImpl]" matches the argument list in "opt/RVCT_5.03/include/utility", Line: 102, Col: 31

Unfortunately, I don't understand the reasons of this error.

Anyone had already get it?

Many thanks in advance for your help,

Have a nice day,

Yann

Can you also share the code snippet?

posted by Martin Kojtal 02 Sep 2014

Here is my concern, I have no idea which line in my code raises this error. I searched all occurrences of the type std::auto_ptr<TaskImpl> and I didn't find any strange code. Another question is: what is exactly opt/RVCT_5.03

Thanks,

Yann

posted by Yann Garcia 02 Sep 2014

1 Answer

9 years, 6 months ago.

RVCT_5.03 points to RealView ® DevelopmentSuite CodeWarrior IDE (http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0065g/index.html)

Mbed compiler is a web based, as you know. Are you using mbed compiler?

Accepted Answer

Oh OK, thanks. Yes, I use the online mbed compiler.

posted by Yann Garcia 02 Sep 2014

Hello,

My apologies for the delay. Yes I use the Web Compiler. I had to introduce the RTOS library due to EhternetInterface library which required some RTOS include file.

Perhaps I did something wrong :-(

Thanks,

Yann

posted by Yann Garcia 27 Sep 2014