2010/01/25

Spirit 2.1 of Boost 1.41 and VC7.1

Spirit 2.1 of Boost 1.41 did not work well with VC71.
Although I fixed some problems on difference of the version of Spirit at this weekend, other unknown internal errors of VC71 occurred and I could not fix them. I think these are probably problems or limitations on VC71 because the same source code has no problem using VC9.
Hence I gave up compiling Spirit 2.1 with VC71 and decided to use VC9 instead of VC71 for Spirit 2.1 .

Sure, VC71 was released in 2003 and has become too old, so I am waiting for the release of VC2010 nowadays. Since I almost all use pure standard C++ only, I look forward to such features of VC2010.

2010/01/08

Fatal error occurs in exception of Boost 1.41

I changed Boost from 1.40 to 1.41. Then, the Boost causes fatal error at exception_ptr.hpp: 160:

160: #ifndef BOOST_NO_RTTI
161: (*this) << original_exception_type(&typeid(e));
162: #endif

... may VC7.1 be cause of it?

I must define BOOST_NO_RTTI although RTTI option of VC (GR) is available.

2010/01/04

Boost 1.41 Update

I updated version of Boost to 1.41. Then, Boost.Spirit is updated to 2.1 and I am applying code of mine to it.

2010/01/01

Boost.asio.ip.tcp.iostream

  1. sending to a stream is blocking during receiving from the stream even on other thread.

  2. duplication of stream socket failed.
    iostream is;
    iostream os;
    os.rdbuf().assign(is.rdbuf().native());
    Then, the assignment failed because the socket has been registered.

How to set parameters to debugging program on Visual Studio 2019 with CMake

Solution: MSDN Sometimes the "Debug and Launch Settings for CMake" bottun is disabled. In this case, change to the target view. ...