Boost logo

Boost :

From: Mountfort, Geoff (gmountfort_at_[hidden])
Date: 2001-12-05 19:00:02


When confronted with an unexpected MSVC error message I have found Build >
Batch Build... > Rebuild All often works miracles.

Geoff (VC 6.0 SP 3)

-----Original Message-----
From: the_dilster [mailto:dylan_at_[hidden]]
Sent: Thursday, 6 December 2001 10:48 AM
To: boost_at_[hidden]
Subject: [boost] MS VC 6 Internal Compiler Error using regex

std::string pattern;
std::string line;
...
boost::regex expr(pattern);
boost::smatch what;
boost::regex_match(line, what, expr);

e:\boost_1_25_0\boost\regex\detail\regex_match.hpp(1053) : fatal
error C1001: ININTERNAL COMPILER ERROR

VC 6.0 SP 5

Compiling in debug mode, no optimisations.

Tried using cmatch, line.c_str(), same thing.
Put in
#define BOOST_NO_MEMBER_TEMPLATES
before
#include "boost/regex.hpp"

and it worked, then took it out again and it worked again!
Deleting the obj file seems to work too...very strange.

Dylan

Info: http://www.boost.org Send unsubscribe requests to:
<mailto:boost-unsubscribe_at_[hidden]>

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk