FW: [Xpressive] quantify embedded regex - still no joy

<update> The preprocessed source zip was too big so I removed it and am re-sending. I can e-mail the file if it would be useful. I ran the softfloat ARM cross-comiler against the exemplar and it compiled. Problem seems to be the x86 gcc 3.4.2 compiler? </update> -----Original Message----- From: BRIDGES Dick Sent: Tuesday, October 25, 2005 9:13 AM To: 'boost@lists.boost.org' Subject: RE: [boost] [Xpressive] quantify embedded regex - still no joy
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Eric Niebler Sent: Monday, October 24, 2005 4:56 PM To: boost@lists.boost.org Subject: Re: [boost] [Xpressive] How to quantify embedded regex?
BRIDGES Dick wrote:
I am trying to use Xpressive for parsing string-based message buffers. The messages start with a fixed string and end with an "empty" line (similar in form to HTTP). Here is code that illustrates my problem:
<snip>
You're doing it right, and the commented out lines compile for me (with VC++ 7.1). I recently fixed a few bugs in this area, so perhaps you could give the latest version (0.9.8a from Oct 19) a shot and let me know if that works.
<snip>
-- Eric Niebler Boost Consulting www.boost-consulting.com
I cleaned out the old version then installed 0.9.8a but I still get the same error on the same line: sregex re_ = "FROGGIE" >> _ln >> +(name_value_pair_) >> _ln; I'm going to try cross-compiling (the *real* target) this exemplar but that will take me a while to set up. In the meantime the error text and preprocessed source (zipped) from the most recent attempt are attached. I certainly appreciate your help with this. Regards, Dick Bridges

BRIDGES Dick wrote:
I ran the softfloat ARM cross-comiler against the exemplar and it compiled. Problem seems to be the x86 gcc 3.4.2 compiler?
It appears so. According to the regression tests, quantifying an embedded regex compiles on gcc-3.4.4-linux (see misc1 test at http://tinyurl.com/dyaub). I guess gcc-3.4.2 is broken wrt xpressive. Sorry. -- Eric Niebler Boost Consulting www.boost-consulting.com
participants (2)
-
BRIDGES Dick
-
Eric Niebler