|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61393 - trunk/tools/build/v2/tools/types
From: grafikrobot_at_[hidden]
Date: 2010-04-18 23:43:15
Author: grafik
Date: 2010-04-18 23:43:14 EDT (Sun, 18 Apr 2010)
New Revision: 61393
URL: http://svn.boost.org/trac/boost/changeset/61393
Log:
Call explicit type register rule to avoid errors when the type file is imported from another type file. (Fixes #4118).
Text files modified:
trunk/tools/build/v2/tools/types/cpp.jam | 8 ++++----
trunk/tools/build/v2/tools/types/objc.jam | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
Modified: trunk/tools/build/v2/tools/types/cpp.jam
==============================================================================
--- trunk/tools/build/v2/tools/types/cpp.jam (original)
+++ trunk/tools/build/v2/tools/types/cpp.jam 2010-04-18 23:43:14 EDT (Sun, 18 Apr 2010)
@@ -69,10 +69,10 @@
scanner.register c-scanner : include ;
-type CPP : cpp cxx cc ;
-type H : h ;
-type HPP : hpp : H ;
-type C : c ;
+type.register CPP : cpp cxx cc ;
+type.register H : h ;
+type.register HPP : hpp : H ;
+type.register C : c ;
# It most cases where a CPP file or a H file is a source of some action, we
# should rebuild the result if any of files included by CPP/H are changed. One
Modified: trunk/tools/build/v2/tools/types/objc.jam
==============================================================================
--- trunk/tools/build/v2/tools/types/objc.jam (original)
+++ trunk/tools/build/v2/tools/types/objc.jam 2010-04-18 23:43:14 EDT (Sun, 18 Apr 2010)
@@ -20,7 +20,7 @@
scanner.register objc-scanner : include ;
-type OBJECTIVE_C : m ;
-type OBJECTIVE_CPP : mm ;
+type.register OBJECTIVE_C : m ;
+type.register OBJECTIVE_CPP : mm ;
type.set-scanner OBJECTIVE_C : objc-scanner ;
type.set-scanner OBJECTIVE_CPP : objc-scanner ;
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