[Top][All Lists]

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

Re: [Bug-gsl]Not a bug, just another platform on which GSL works fine...

From: Brian Gough
Subject: Re: [Bug-gsl]Not a bug, just another platform on which GSL works fine...
Date: Sat, 28 Dec 2002 12:49:20 +0000 (GMT)

Maarten De Munck writes:
 > At the department, we mainly use HP workstations. Our primary C
 > (and C++) compiler is the HP ANSI C++ compiler. This compiler is
 > extremely strict about type conversions, and the source code needed
 > two little changes to compile:
 >  In vector/vector_source.c, line 28:
 >      const BASE zero = ZERO;
 >  should become
 >      BASE zero = ZERO;
 >  because this zero is used as a non-const function argument, passed
 > by address. Probably it is also possible to change the function
 > declaration somewhere, but this change was faster, and it isn't
 > that dirty.
 >  And in matrix/matrix_source.c, line 25, the same change is needed.
 >  With these two changes, GSL compiles fine with the HP aCC
 > compiler. The compiler needs the '-AE' flag, to turn the c89 mode
 > on, but that's quite normal for C programs.

Thanks for the bug report!

Brian Gough

Network Theory Ltd            Phone: 0117 3179309 (+44 117 3179309)
15 Royal Park                   WWW: http://www.network-theory.co.uk/
Bristol BS8 3AL               Email: address@hidden     
United Kingdom                

reply via email to

[Prev in Thread] Current Thread [Next in Thread]