Re: bug in xibor..

Posted by Luigi Ballabio-2 on
URL: http://quantlib.414.s1.nabble.com/bug-in-xibor-tp2199p2203.html

At 12:25 PM 9/25/02 +0200, Patrik Sundberg wrote:
>On Wed, Sep 25, 2002 at 10:23:29AM +0200, Luigi Ballabio wrote:
> > Yes, at the very least I can try and include it in an #ifdef block.
> > Do you know if there are any #defines I can check in order to detect
> > whether I'm on solaris?
>
>isn't a test for compiler and compiler version more appropriate? such sure
>exist for gcc, I can't remember them right now.

Patrik,
         maybe I'm misunderstading you, but I'd prefer to detect gcc on
solaris, not merely gcc. The library works as it should when compiled with
gcc (2.95.x, 3.0.x, amd 3.1.x) on Linux. I'd rather restrict the workaround
to the specific platforms for which it is needed.

Bye,
         Luigi