6 years, 4 months ago.

Why does mbed compile with an error 330 D ??

Hi, I'm creating a new program from scratch. I have manually imported mbed library and a couple more of known libs I have already used in some other programs. When I compile the program with a simplest main function (empty at all), it reports 3 errors with text...

Error: "mbed::NonCopyable<T>::NonCopyable(const mbed::NonCopyable<T> &) [with T=mbed::Timeout]" (declared at <a href="#" onmousedown="mbed_doc_goto('/TestBLEextras/mbed_e7ca05fa8600/platform/NonCopyable.h', '157'); return false;">/extras/mbed_e7ca05fa8600/platform/NonCopyable.h:157</a>) is inaccessible in "extras/mbed_e7ca05fa8600/drivers/Timeout.h", Line: 57, Col: 41

This very same libs (mbed and te others) are the ones in use in some example codes I have also imported to my compiler, and they are correctly compiled.

Why is this happening? Any help would be very much appreciated.

Be the first to answer this question.