Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53600 - sandbox/tools/profile_templates/src
From: franklin.jonathan_at_[hidden]
Date: 2009-06-03 10:14:45


Author: jfranklin
Date: 2009-06-03 10:14:44 EDT (Wed, 03 Jun 2009)
New Revision: 53600
URL: http://svn.boost.org/trac/boost/changeset/53600

Log:
Fixed enter_message regex to deal with case where gcc uses a unicode left single quotation mark instead of an ascii single quote character.

Text files modified:
   sandbox/tools/profile_templates/src/postprocess.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/tools/profile_templates/src/postprocess.cpp
==============================================================================
--- sandbox/tools/profile_templates/src/postprocess.cpp (original)
+++ sandbox/tools/profile_templates/src/postprocess.cpp 2009-06-03 10:14:44 EDT (Wed, 03 Jun 2009)
@@ -43,8 +43,8 @@
 
 #else
 
-boost::regex enter_message("(.*): warning: .int template_profiler::enter\\(int\\).*");
-boost::regex exit_message("(.*): warning: .int template_profiler::exit\\(int\\).*");
+boost::regex enter_message("(.*): warning: .+int template_profiler::enter\\(int\\).*");
+boost::regex exit_message("(.*): warning: .+int template_profiler::exit\\(int\\).*");
 boost::regex call_graph_line("(.*):(\\d+): instantiated from .*");
 boost::regex split_file_and_line("(.*):(\\d+)");
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk