From: John Maddock (john_at_[hidden])
Date: 2004-02-06 07:01:13


> Initial Comment:
> trying out the new boost_1_31_0 and i'm having
> problems using the updated regex library as a
> precompiled header.
> ...\boost\regex\v4\perl_matcher_common.hpp(660) :
> fatal error C1001: INTERNAL COMPILER ERROR
> (compiler file 'msc1.cpp', line 1794)
> Please choose the Technical Support command on
> the Visual C++
> Help menu, or open the Technical Support help
> file for more information
> I'd be curious if the .Net compiler had the same problem,
> but I assume it doesn't. I can say that if I pull the
> regex.hpp out of stdafx.h and put it into each .h or .cpp
> file that references boost::regex, I get a clean compile.
> However, I have dozens of tiny projects that would
> require this change.

I've tried all sorts of things to try and fix this, but I can't see any
solution. As you rightly say Visual Studio .NET and .NET 2003 don't have
this issue (I've checked). The strange thing is, the pre-compiled header
builds OK, it's only when you come to use it that the error occurs. If
anyone has any ideas I'd appreciate it.

John