Discussion:
regression with current pcc
Michael Shalayeff
2012-09-18 13:48:09 UTC
Permalink
re
this code:

double cimag(double _Complex);

double
cimag(double _Complex z)
{
return __imag__ z;
}

now produces:
c.c, line 6: redeclaration of cimag

it is from libc and used to compile fine
cu
--
paranoic mickey (my employers have changed but, the name has remained)
Anders Magnusson
2012-09-18 16:33:56 UTC
Permalink
Post by Michael Shalayeff
re
double cimag(double _Complex);
double
cimag(double _Complex z)
{
return __imag__ z;
}
c.c, line 6: redeclaration of cimag
it is from libc and used to compile fine
Wrong declaration. Should work fine now again.

-- Ragge
Michael Shalayeff
2012-09-18 23:29:46 UTC
Permalink
Post by Anders Magnusson
Post by Michael Shalayeff
re
double cimag(double _Complex);
double
cimag(double _Complex z)
{
return __imag__ z;
}
c.c, line 6: redeclaration of cimag
it is from libc and used to compile fine
Wrong declaration. Should work fine now again.
zefixt. 10x
cu
--
paranoic mickey (my employers have changed but, the name has remained)
Loading...