[splint-discuss] complex.h and splint

Raphael Clifford raphael at clifford.net
Sat Sep 6 08:39:07 EDT 2003


Hi,

Am I right in thinking that you can't use splint with the complex number 
type from complex.h and supported in gcc 3.x?

For example...

#include<complex.h>

int main() {
  complex x = 1 +1i;

  x =x*x;
}


and then ....

[clifford at localhost C]$ splint test1.c
Splint 3.1.1 --- 03 Sep 2003

/usr/include/bits/cmathcalls.h:54:31: Parse Error: Non-function declaration:
    _Complex : extern double. (For help on parse errors, see splint -help
    parseerrors.)
*** Cannot continue.


Cheers,
Raphael





More information about the splint-discuss mailing list