
I get this message when using boost/regex (it may or may not occur with other boost libraries, I havn't checked):
Warning W8097 H:\Libraries\boost_1_32_0\boost/config/auto_link.hpp 240: Not all options can be restored at this time "Fatal F1004 test.cpp 15: Internal compiler error at 0x40638d with base 0x400000 in function main(int,char * *)".
On line 240 (or thereabouts) of boost/config/auto_link.hpp (Boost version 1.32.0). This: "#pragma defineonoption BOOST_BORLAND_DEBUG -v" causes an ICE with Borland's free compiler if the option -v is not already being used.
I can reproduce that, but don't know what to do about it: it's a compiler bug after all, and it is fixed in Borland's latest compiler release (5.6.4). Can you upgrade your compiler by downloading C++ Builder X Personal Edition? Otherwise define BOOST_ALL_NO_LIB to disable automatic linking from your code, and manually specify which library files to link against: but be very careful you pick the right one!! John.