头文件中的c6x.h文件报错:/*****************************************************************************/
/* C6X.H v4.32 */
/* Copyright (c) 1996-2002 Texas Instruments Incorporated */
/*****************************************************************************/
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
unsigned _extu (unsigned, unsigned, unsigned);
int _ext (int, unsigned, unsigned);
unsigned _set (unsigned, unsigned, unsigned);
unsigned _clr (unsigned, unsigned, unsigned);
unsigned _extur (unsigned, int);
int _extr (int, int);
unsigned _setr (unsigned, int);
unsigned _clrr (unsigned, int);
int _sadd (int, int);
[color=Red]long _lsadd (int, long);[/color]
int _ssub (int, int);
[color=Red]long _lssub (int, long);[/color]
int _sshl (int, unsigned);
int _add2 (int, int);
int _sub2 (int, int);
unsigned _subc (unsigned, unsigned);
unsigned _lmbd (unsigned, unsigned);
int _abs (int);
[color=Red]long _labs (long);
int _sat (long);[/color]
unsigned _norm (int);
[color=Red]unsigned _lnorm (long)[/color];
代码中的红色部分报错,报错类型为#149 declaration is incompatible with builtin "__int40_t _lssub(int, __int40_t)" 只要出现long就报错,求解 |