On Thu, Dec 15, 2005 at 03:33:47PM -0500, cswiger wrote:
> FWIW, once you get gcc and the build environment setup right
> gnuradio 2.6 builds cleanly on Solaris, except for ONE item:
>
> gr_math.cc:98
>
> int
> gr_signbit (double x)
> {
> //return std::signbit (x);
> return (x);
> }
>
>
> std::signbit (x) creates an error, does not exist in std or something,
> the above 'fix' gets it to compile but I have no idea what problems
> it would create down the road.
>
>
> --Chuck
This is a better fix:
int
gr_signbit (double x)
{
if (x < 0.0)
return 1;
return 0;
}
Does signbit exist in the default (non-std) namespace?
Is there a man page for it?
This probably needs a bit of autoconf hacking.
Eric
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio