Subject: [boost] [profile_templates] minor issue + patch
From: Jonathan Franklin (franklin.jonathan_at_[hidden])
Date: 2009-06-03 00:37:26
I was playing around w/ the profile_templates tool on my Ubuntu box
(Jaunty Jackelope - 9.04), and wasn't getting any results. After a
little investigation, I discovered that the regex that postprocess.cpp
uses for the enter_message wasn't matching the warning that my gcc
compiler (4.3.3) was spitting out.
Turns out that the regex is looking for a single char here:
(.*): warning: .int
But I'm getting a unicode E28098 (left single quotation mark), which
is 3 chars, hence the failure to match. Being somewhat content w/ my
terminal settings (and lazy to boot), I just modified the regex to
match .+int instead of .int, and it *seems* to work fine.
I think I have a sandbox account, and can commit the attached patch if
you like the fix.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk