Missing extern "C"?

Ralf Corsepius ralf.corsepius at rtems.org
Thu Feb 17 03:31:36 UTC 2011


On 02/17/2011 01:42 AM, Claus, Ric wrote:
> Does it make sense that there is a missing
>
> #ifdef __cplusplus
> extern "C" {
> #endif
>
> #ifdef __cplusplus
> }
> #endif
>
> around the symbols in c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/vectors.h or is it expected that the C++ application wraps the #include<bsp/vectors.h>  with this construct?
>

Yes. Patch applied to on rtems-4-10-branch and HEAD in CVS

Thanks for the report.

Ralf



More information about the users mailing list