Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66503 - trunk/tools/inspect
From: eric_at_[hidden]
Date: 2010-11-11 18:06:18


Author: eric_niebler
Date: 2010-11-11 18:06:17 EST (Thu, 11 Nov 2010)
New Revision: 66503
URL: http://svn.boost.org/trac/boost/changeset/66503

Log:
inspect tool: assert_macro_check reports line numbers
Text files modified:
   trunk/tools/inspect/assert_macro_check.cpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/tools/inspect/assert_macro_check.cpp
==============================================================================
--- trunk/tools/inspect/assert_macro_check.cpp (original)
+++ trunk/tools/inspect/assert_macro_check.cpp 2010-11-11 18:06:17 EST (Thu, 11 Nov 2010)
@@ -85,7 +85,8 @@
           }
 
           ++errors;
- error( library_name, full_path, "C-style assert macro", line_number );
+ error( library_name, full_path, "C-style assert macro on line "
+ + boost::lexical_cast<string>( line_number ) );
         }
       }
       if(errors > 0) {


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