Re: visual c++ upgrading problem
Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/visual-c-upgrading-problem-tp3536p3540.html
On 01/25/05 10:25:28, Daniel J. Duffy wrote:
> Luigi,
> I am using 2005 beta, so maybe it is difernet. All I know is that if you
> do NOT implement a default constructor my own code does not work.
Well, if a class doesn't implement a default constructor, your own code
cannot call it :)
> I have experienced sttange things when moving to versions > 6.
VC6 used to let you get away with illegal C++. VC7 and 8 don't.
Having said this, I wouldn't exclude that VC8 (being a beta) has issues.
However, I still don't have a clear picture of the problem. Is it the
Mersenne twister (which _has_ a default constructor) that causes your code
to fail? Or is some other class? What exactly is the offending line?
Later,
Luigi