[gcc 3.3.2] std::numeric_limits<long double>::singaling_NaN() bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm having a library that compiles under 3.4.4 and 4.0.1, however, when 
compiling under 3.3.2 (default compiler on SuSE Linux 9.3) I get the 
following error message

error: syntax error before `__builtin_nanf`

raised by the following fragment:

typedef long double float80;

class TFloat80 : ... {
...
    static const float80 NAN;
...
};

const float80 TFloat80::NAN = std::numeric_limits<float80>::signaling_NaN();

Why does it bail out here? I suppose this is a GCC/STL bug, however, is there 
a way to walk around this for GCC 3.3 builds?

Regards,
Christian Parpart.

-- 
 05:56:16 up 148 days, 19:03,  1 user,  load average: 0.45, 0.70, 1.02

Attachment: pgpWD33VhsfB8.pgp
Description: PGP signature


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux