Internal Error VS6 IDE-HELP!
Hi All, Please help me out I am new to boost C++. I tried out this code #include "boost\lambda\lambda.hpp" #include <iostream> #include <iterator> #include <algorithm> int main() { using namespace boost::lambda; typedef std::istream_iterator<int> in; std::for_each( in(std::cin), in(), std::cout << (boost::lambda::_1 * 3) << " " ); } I am using Visual studio 6.0 VC++ it shows an error i have included the additional directory and other things as explained in the boost intro tutorial still getting an error. it says c:\program files\boost\boost_1_35_0\boost\lambda\detail\lambda_fwd.hpp(26) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1794) Please choose the Technical Support command on the Visual C++ How to solve this i hope some one will help why this internal error occurs and what i need to do?. Anil _________________________________________________________________ Missed your favourite programme? Stop surfing TV channels and start planning your weekend TV viewing with our comprehensive TV Listing http://entertainment.in.msn.com/TV/TVListing.aspx
Hi Anil.
I am using Visual studio 6.0 VC++ it shows an error i have included the additional directory and other things as explained in the boost intro tutorial still getting an error. it says c:\program files\boost\boost_1_35_0\boost\lambda\detail\lambda_fwd.hpp(26) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1794) Please choose the Technical Support command on the Visual C++
You really, really, really, really need to get a more up to date compiler, especially for learning purposes. Some libraries may attempt to retain backward compatibility with such old compilers but I think more often than not this is not the case. As far as VS6 internal compiler errors go... unless there is an already known workaround... you're pretty much on your own. Best regards, Jurko Gospodnetić
Anil,
Visual Studio 6 does not have, unfortunately, an officially supported C++
compiler for Boost. I believe the earliest supported version of Visual
Studio is 7.1.
Check out this thread:
http://lists.boost.org/Archives/boost/2006/01/99890.php
Though many of the libraries will likely work fine with VS 6, I really doubt
that Lambda would.
VS 2005 especially is a great improvement over older versions of Visual
Studio for C++ - and I'd recommend using it or another compiler (GCC etc.)
if possible, if you want to get the most out of Boost.
Jeremy Pack
On Wed, Jul 23, 2008 at 1:31 AM, anil kumar
Hi All,
Please help me out I am new to boost C++. I tried out this code
#include "boost\lambda\lambda.hpp" #include <iostream> #include <iterator> #include <algorithm>
int main() { using namespace boost::lambda; typedef std::istream_iterator<int> in;
std::for_each( in(std::cin), in(), std::cout << (boost::lambda::_1 * 3) << " " ); }
I am using Visual studio 6.0 VC++ it shows an error i have included the additional directory and other things as explained in the boost intro tutorial still getting an error. it says c:\program files\boost\boost_1_35_0\boost\lambda\detail\lambda_fwd.hpp(26) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1794) Please choose the Technical Support command on the Visual C++
How to solve this i hope some one will help why this internal error occurs and what i need to do?.
Anil
------------------------------ Take the quiz. Crack your personality type. Get individualized suggestions for email ids that suit your personality.Log on to www.coolhotmail.com/personality.html Try it now!http://www.coolhotmail.com/personality.html
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
On Jul 23, 2008, at 4:31 AM, anil kumar wrote:
Hi All,
Please help me out I am new to boost C++. I tried out this code
#include "boost\lambda\lambda.hpp" #include <iostream> #include <iterator> #include <algorithm>
int main() { using namespace boost::lambda; typedef std::istream_iterator<int> in;
std::for_each( in(std::cin), in(), std::cout << (boost::lambda::_1 * 3) << " " ); }
I am using Visual studio 6.0 VC++ it shows an error i have included the additional directory and other things as explained in the boost intro tutorial still getting an error. it says c:\program files\boost\boost_1_35_0\boost\lambda\detail \lambda_fwd.hpp(26) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1794) Please choose the Technical Support command on the Visual C++
How to solve this i hope some one will help why this internal error occurs and what i need to do?.
As already suggested...you will most-likely need to update to a newer compiler version (e.g. one of the free Express editions) that is far more standard compliant. Visual Studio 6.0 has many issues especially when it comes down to templates. Reasons for the C1001 error are manifold....you may want to take a look at the following knowledge base article: PRB: C1001 Compiler Error Message - Suggestions for Troubleshooting (http://support.microsoft.com/kb/305980 ). Ciao, Andreas
participants (4)
-
Andreas Masur
-
anil kumar
-
Jeremy Pack
-
Jurko Gospodnetić