Login  Register

Linuc/gcc port (nearly done)

Posted by Peter Schmitteckert-2 on Dec 15, 2000; 3:00pm
URL: http://quantlib.414.s1.nabble.com/Linuc-gcc-port-nearly-done-tp9941.html

Dear Developers,

this morniung I adapted your QuantLib 0.0.1 Source
to compile on my Linux 2.2.17 using
gcc 2.95.2.  I had to tweak a few places only,
not because of limititations of g++, but because of
some inconsistencies of the C++ standard library
(limits & sstream)

The only problem I've encountered ist in "cranknicolson.h":

        template <int constant>
        class CrankNicolsonTimeSetter {};

Here you specify a templated class without using the
template parameter. In my opinion I can't blame g++
for not compiling this, since according to my
Stroustrup v3, this is not valid C++.

Could you please check wether I'm right or not?

Anyway, what should I do with my changes?

Best wishes
Peter Schmitteckert                      

________________________________________
Dr. Peter Schmitteckert / IT-Consulting
s-mail: Fridolinstr. 19, 68753 Waghäusel
Web: http://www.schmitteckert.com
e-mail: [hidden email]
Tel.: 07254/951896