From 1c297b67de7a631be83c36b4f020823861c07f7b Mon Sep 17 00:00:00 2001 From: Arkadiy Vertleyb Date: Fri, 15 Apr 2005 03:09:28 +0000 Subject: [PATCH] minor build and doc changes [SVN r2576] --- include/boost/typeof/config.hpp | 2 +- include/boost/typeof/template_encoding.hpp | 2 -- include/boost/typeof/typeof.hpp | 4 ++++ test/Jamfile | 21 +++++++++++++++++++++ test/Jamrules | 0 5 files changed, 26 insertions(+), 3 deletions(-) create mode 100755 test/Jamfile create mode 100755 test/Jamrules diff --git a/include/boost/typeof/config.hpp b/include/boost/typeof/config.hpp index 056108b..1957751 100755 --- a/include/boost/typeof/config.hpp +++ b/include/boost/typeof/config.hpp @@ -20,7 +20,7 @@ //Doesn't require registration # define BOOST_TYPEOF_NATIVE -# elif !defined BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION +# else # define BOOST_TYPEOF_COMPLIANT # endif diff --git a/include/boost/typeof/template_encoding.hpp b/include/boost/typeof/template_encoding.hpp index e12c6f0..e602b4d 100755 --- a/include/boost/typeof/template_encoding.hpp +++ b/include/boost/typeof/template_encoding.hpp @@ -22,8 +22,6 @@ #include #include - - // The template parameter description, entered by the user, // is converted into a polymorphic "object" // that is used to generate the code responsible for diff --git a/include/boost/typeof/typeof.hpp b/include/boost/typeof/typeof.hpp index 7fb4314..8255f8a 100755 --- a/include/boost/typeof/typeof.hpp +++ b/include/boost/typeof/typeof.hpp @@ -27,9 +27,13 @@ #else//BOOST_TYPEOF_NATIVE +# define BOOST_TYPEOF_TEXT "using native imlementation" +# include + # if !defined BOOST_TYPEOF # define BOOST_TYPEOF __typeof__ # endif + # define BOOST_TYPEOF_TPL BOOST_TYPEOF #endif diff --git a/test/Jamfile b/test/Jamfile new file mode 100755 index 0000000..a753bf1 --- /dev/null +++ b/test/Jamfile @@ -0,0 +1,21 @@ +project-root ; + +variant debug_compliant : debug : BOOST_TYPEOF_COMPLIANT ; +variant release_compliant : release : BOOST_TYPEOF_COMPLIANT ; + +exe typeof +: + main.cpp + compliant/test_compliant.cpp + compliant/odr1.cpp + compliant/odr2.cpp +: + C:/boost/boost_1_32_0 + ../../.. + no + no + no + no +: + debug debug_compliant +; diff --git a/test/Jamrules b/test/Jamrules new file mode 100755 index 0000000..e69de29