C:/nburn/nbrtos/include/file/udefs.h:35:8: error: expected identifier or '(' before string constant
extern "C++"
The error is caused by statement "extern "C++" at the top of the file, line 35:
Code: Select all
#ifndef NB_BARE_METAL
extern "C++"
{
#include <nbrtos.h>
}
#endif
Code: Select all
#ifdef __cplusplus
extern "C" {
#endif
Code: Select all
#if !defined( NB_BARE_METAL ) && !defined( __cplusplus )
extern "C++"
{
#include <nbrtos.h>
}
#endif