Compiler errors when compiling C++ projects
Posted: Sat May 11, 2013 6:54 am
Hi
Before I had posted about "make" errors, but now I can compile C projects from inside Eclipse.
The newer fact is that there are errors when compiling C++ projects:
(straight output from the straight ARMCM3-STM32F103-G++ project.)
Any workaround?
Before I had posted about "make" errors, but now I can compile C projects from inside Eclipse.
The newer fact is that there are errors when compiling C++ projects:
make -j1 all
Compiling ../../os/various/ch.cpp
../../os/various/ch.cpp: In static member function 'static eventmask_t chibios_rt::Event::ClearFlags(eventmask_t)':
../../os/various/ch.cpp:290:32: error: 'chEvtClearFlags' was not declared in this scope
../../os/various/ch.cpp: In static member function 'static eventmask_t chibios_rt::Event::AddFlags(eventmask_t)':
../../os/various/ch.cpp:295:30: error: 'chEvtAddFlags' was not declared in this scope
../../os/various/ch.cpp:296:3: warning: control reaches end of non-void function [-Wreturn-type]
../../os/various/ch.cpp: In static member function 'static eventmask_t chibios_rt::Event::ClearFlags(eventmask_t)':
../../os/various/ch.cpp:291:3: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [build/obj/ch.o] Error 1
(straight output from the straight ARMCM3-STM32F103-G++ project.)
Any workaround?