Re: compilation problem with vc++ 7.1

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/compilation-problem-with-vc-7-1-tp739p742.html

On Wed, 2007-03-28 at 20:18 -0500, AAA BBB wrote:
> Hi,
> I'm trying to build quantlib (version 0.4.0) using ms visual c++ 7.1. I'm
> getting the following errors. Can someone help me figure out what's wrong,
> pls. Build Log attached.

John,
        the latest VC++7.1 implementation of std::vector<bool> compiles fine
when Microsoft extensions are enabled, but triggers an error when
compiled in ANSI-compliance mode. The error is the first one in your
build log, namely,

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include
\vector(1112) : error C2065: '_Myoff' : undeclared identifier

In order to fix it, you'll have to edit line 1112 of vector and replace
"_Myoff" with "this->_Myoff".

Later,
        Luigi


----------------------------------------

Innovation is hard to schedule.
-- Dan Fylstra



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users