Login  Register

Re: Having build problems.

Posted by liam_herron on Apr 30, 2002; 7:25pm
URL: http://quantlib.414.s1.nabble.com/Having-build-problems-tp2024p2025.html

I am using gcc version 2.96    I haven't upgraded my compiler
at all.  Not sure why it would build successfully 10 days
ago then.

Liam


>From: Luigi Ballabio <[hidden email]>
>To: "Liam Herron" <[hidden email]>,  
>[hidden email]
>Subject: Re: [Quantlib-users] Having build problems.
>Date: Tue, 30 Apr 2002 08:58:01 +0100
>
>At 10:30 PM 4/29/02 -0400, Liam Herron wrote:
>>I checked the code out 10 days ago and built it and it worked
>>fine.  Just recently, I updated the code base and I am getting
>>the following error:
>>
>>compoundforward.cpp:150: no matching function for call to `vector<Rate,
>>allocator<Rate> >::at (Size &)'
>>
>>Any ideas?
>
>For some reason, your compiler doesn't seem to know that std::vector has a
>method "at". What version of gcc are you using?
>
>Bye,
>         Luigi
>
>(note for Andre: if the indexes are known to be safe already---i.e., you
>already know that i is between 0 and v.size() because the for loop says so,
>or because you already verified the lengths somewhere else---it might be
>more readable to use v[i] instead of v.at(i). What do you think?)
>
>



_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com