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 ....


[EMAIL PROTECTED] 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


_______________________________________________ splint-discuss mailing list [EMAIL PROTECTED] http://www.splint.org/mailman/listinfo/splint-discuss

Reply via email to