[an error occurred while processing this directive]
|
Вы поглядите внимательнее в gsm.h и увидите, что
/*--------------------------------------------------------------------------*/
/* Declarations for ETSI functions implemented as function calls (or */
/* inline functions) */
/*--------------------------------------------------------------------------*/
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */int crshft_r(int x, int y);
long L_crshft_r(long x, int y);
int divs(int x, int y);
_IDECL long L_add_c(long, long);
_IDECL long L_sub_c(long, long);
_IDECL long L_sat(long);
А Вы просто поставили #define и думаете что компилер все поймет. А функция-то не intrinsic, а библиотечная. Компилятор поступил согласно ANSI, подумав что функция без прототипа должна возвращать int.
E-mail: info@telesys.ru