8 years, 2 months ago.

Expected a "{" "extern "C" {"

Hello,

I got this stranger error : Expected a "{" "extern "C" {". What is this ? The concerned file is "opt/RVCT_5.05/bin/../include/rt_sys.h". Where is this file ? How can I access to it ? Is it possible to clean directories in mbed to delete temporary files ?

Thanks

1 Answer

8 years, 2 months ago.

Kevin,

You usually use "extern "C" {" around C function declarations that are going to be compiled in a C++ environment.

Did you export to an IDE? Are you trying to use a different RTOS? That path doesn't look like anything from mbed.

Cheers,

Mike