Posted by
Patrik Sundberg on
URL: http://quantlib.414.s1.nabble.com/bug-in-xibor-tp2199p2204.html
On Wed, Sep 25, 2002 at 12:49:09PM +0200, Luigi Ballabio wrote:
> 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.
my bad - I didn't read the whole thread properly and got the impression it was
a gcc issue and not gcc+solaris. solaris surely has defines - I think you can
use
#ifdef SOLARIS
or
#ifdef SUNOS
hope you resolv this issue!
--
---------------------------------------------------------------------------.
Patrik Sundberg Address: Rydsvägen 100C, 584 31 Linköping, Sweden |
Email:
[hidden email] ||
[hidden email] |
Phone: +46 13 178567 || +46 707 602240 |
.---> Applied Physics and Electrical Engineering student |
|-----> Master of Science in Business Administration and Economics student |
|-------> UNIX/Programming consultant |
`--------------------------------------------------------------------------'