|
Boost : |
From: John Maddock (boost.regex_at_[hidden])
Date: 2003-08-29 08:02:46
> As suggested by Marco Oman, the problem appears to be caused by
overloading
> the various operators for the enum type, which happens in match_flags.hpp
> (lines 79 to 92). If these are removed for the Borland compiler, then the
> conflict goes away, at the cost of a bunch of "Assigning int to ..."
> warnings. Presumably, that is the main purpose of these overloads in any
> case (to suppress such warnings), so it might be just as well to use a
> pragma for this in the Borland case - assuming, of course, that the
> generated code is the same.
Got it, there is a workaround for vc6 in there already, I've enabled this
for Borland as well, regex can now be mixed with <vcl.h>.
John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk