Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71010 - in branches/pplib/variadics: boost/preprocessor/array boost/preprocessor/config boost/preprocessor/facilities boost/preprocessor/list boost/preprocessor/seq boost/preprocessor/tuple boost/preprocessor/tuple/detail boost/preprocessor/variadic boost/preprocessor/variadic/detail libs/preprocessor/test
From: eldiener_at_[hidden]
Date: 2011-04-05 15:41:53


Author: eldiener
Date: 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
New Revision: 71010
URL: http://svn.boost.org/trac/boost/changeset/71010

Log:
Changed C++ comments to C comments. Added C tests.
Added:
   branches/pplib/variadics/libs/preprocessor/test/arithmetic.c
      - copied, changed from r70999, /branches/pplib/variadics/libs/preprocessor/test/arithmetic.cpp
   branches/pplib/variadics/libs/preprocessor/test/array.c
      - copied, changed from r71001, /branches/pplib/variadics/libs/preprocessor/test/array.cpp
   branches/pplib/variadics/libs/preprocessor/test/comparison.c
      - copied, changed from r70999, /branches/pplib/variadics/libs/preprocessor/test/comparison.cpp
   branches/pplib/variadics/libs/preprocessor/test/control.c
      - copied unchanged from r70999, /branches/pplib/variadics/libs/preprocessor/test/control.cpp
   branches/pplib/variadics/libs/preprocessor/test/debug.c
      - copied unchanged from r70999, /branches/pplib/variadics/libs/preprocessor/test/debug.cpp
   branches/pplib/variadics/libs/preprocessor/test/facilities.c
      - copied unchanged from r70999, /branches/pplib/variadics/libs/preprocessor/test/facilities.cpp
   branches/pplib/variadics/libs/preprocessor/test/list.c
      - copied unchanged from r71001, /branches/pplib/variadics/libs/preprocessor/test/list.cpp
   branches/pplib/variadics/libs/preprocessor/test/logical.c
      - copied unchanged from r70999, /branches/pplib/variadics/libs/preprocessor/test/logical.cpp
   branches/pplib/variadics/libs/preprocessor/test/selection.c
      - copied unchanged from r70999, /branches/pplib/variadics/libs/preprocessor/test/selection.cpp
   branches/pplib/variadics/libs/preprocessor/test/seq.c
      - copied unchanged from r71001, /branches/pplib/variadics/libs/preprocessor/test/seq.cpp
   branches/pplib/variadics/libs/preprocessor/test/slot.c
      - copied unchanged from r70999, /branches/pplib/variadics/libs/preprocessor/test/slot.cpp
   branches/pplib/variadics/libs/preprocessor/test/tuple.c
      - copied unchanged from r71007, /branches/pplib/variadics/libs/preprocessor/test/tuple.cpp
   branches/pplib/variadics/libs/preprocessor/test/variadic.c
      - copied unchanged from r71007, /branches/pplib/variadics/libs/preprocessor/test/variadic.cpp
Text files modified:
   branches/pplib/variadics/boost/preprocessor/array/enum.hpp | 2
   branches/pplib/variadics/boost/preprocessor/array/to_list.hpp | 2
   branches/pplib/variadics/boost/preprocessor/array/to_seq.hpp | 2
   branches/pplib/variadics/boost/preprocessor/array/to_tuple.hpp | 2
   branches/pplib/variadics/boost/preprocessor/config/variadics.hpp | 59 +++++++++++++++++++--------------------
   branches/pplib/variadics/boost/preprocessor/facilities/overload.hpp | 4 +-
   branches/pplib/variadics/boost/preprocessor/list/to_array.hpp | 2
   branches/pplib/variadics/boost/preprocessor/list/to_seq.hpp | 2
   branches/pplib/variadics/boost/preprocessor/seq/to_list.hpp | 2
   branches/pplib/variadics/boost/preprocessor/tuple/detail/use_overload.hpp | 4 +-
   branches/pplib/variadics/boost/preprocessor/tuple/eat.hpp | 2
   branches/pplib/variadics/boost/preprocessor/tuple/elem.hpp | 2
   branches/pplib/variadics/boost/preprocessor/tuple/enum.hpp | 4 +-
   branches/pplib/variadics/boost/preprocessor/tuple/rem.hpp | 2
   branches/pplib/variadics/boost/preprocessor/tuple/reverse.hpp | 2
   branches/pplib/variadics/boost/preprocessor/tuple/size.hpp | 4 +-
   branches/pplib/variadics/boost/preprocessor/tuple/to_array.hpp | 4 +-
   branches/pplib/variadics/boost/preprocessor/tuple/to_list.hpp | 2
   branches/pplib/variadics/boost/preprocessor/tuple/to_seq.hpp | 2
   branches/pplib/variadics/boost/preprocessor/variadic/detail/apply_var.hpp | 2
   branches/pplib/variadics/boost/preprocessor/variadic/detail/elem.hpp | 4 +-
   branches/pplib/variadics/boost/preprocessor/variadic/detail/size.hpp | 4 +-
   branches/pplib/variadics/boost/preprocessor/variadic/detail/to_array.hpp | 4 +-
   branches/pplib/variadics/boost/preprocessor/variadic/detail/to_list.hpp | 4 +-
   branches/pplib/variadics/boost/preprocessor/variadic/detail/to_seq.hpp | 4 +-
   branches/pplib/variadics/boost/preprocessor/variadic/detail/to_tuple.hpp | 4 +-
   branches/pplib/variadics/boost/preprocessor/variadic/detail/vd_cat.hpp | 2
   branches/pplib/variadics/boost/preprocessor/variadic/elem.hpp | 4 +-
   branches/pplib/variadics/boost/preprocessor/variadic/size.hpp | 4 +-
   branches/pplib/variadics/boost/preprocessor/variadic/to_array.hpp | 4 +-
   branches/pplib/variadics/boost/preprocessor/variadic/to_list.hpp | 4 +-
   branches/pplib/variadics/boost/preprocessor/variadic/to_seq.hpp | 4 +-
   branches/pplib/variadics/boost/preprocessor/variadic/to_tuple.hpp | 4 +-
   branches/pplib/variadics/libs/preprocessor/test/Jamfile.v2 | 57 ++++++++++++++++++++++++++++++++++++++
   branches/pplib/variadics/libs/preprocessor/test/arithmetic.c | 10 +++---
   branches/pplib/variadics/libs/preprocessor/test/array.c | 12 ++++----
   branches/pplib/variadics/libs/preprocessor/test/comparison.c | 12 ++++----
   branches/pplib/variadics/libs/preprocessor/test/test.h | 5 ++
   38 files changed, 156 insertions(+), 97 deletions(-)

Modified: branches/pplib/variadics/boost/preprocessor/array/enum.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/array/enum.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/array/enum.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -21,4 +21,4 @@
 #define BOOST_PP_ARRAY_ENUM(array) \
   BOOST_PP_TUPLE_ENUM(BOOST_PP_ARRAY_SIZE(array),BOOST_PP_ARRAY_DATA(array)) \
 /**/
-# endif // BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# endif /* BOOST_PREPROCESSOR_ARRAY_ENUM_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/array/to_list.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/array/to_list.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/array/to_list.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -21,4 +21,4 @@
 #define BOOST_PP_ARRAY_TO_LIST(array) \
   BOOST_PP_TUPLE_TO_LIST(BOOST_PP_ARRAY_SIZE(array),BOOST_PP_ARRAY_DATA(array)) \
 /**/
-# endif // BOOST_PREPROCESSOR_ARRAY_TO_LIST_HPP
+# endif /* BOOST_PREPROCESSOR_ARRAY_TO_LIST_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/array/to_seq.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/array/to_seq.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/array/to_seq.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -21,4 +21,4 @@
 #define BOOST_PP_ARRAY_TO_SEQ(array) \
   BOOST_PP_TUPLE_TO_SEQ(BOOST_PP_ARRAY_SIZE(array),BOOST_PP_ARRAY_DATA(array)) \
 /**/
-# endif // BOOST_PREPROCESSOR_ARRAY_TO_SEQ_HPP
+# endif /* BOOST_PREPROCESSOR_ARRAY_TO_SEQ_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/array/to_tuple.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/array/to_tuple.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/array/to_tuple.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -19,4 +19,4 @@
 #define BOOST_PP_ARRAY_TO_TUPLE(array) \
   BOOST_PP_ARRAY_DATA(array) \
 /**/
-# endif // BOOST_PREPROCESSOR_ARRAY_TO_TUPLE_HPP
+# endif /* BOOST_PREPROCESSOR_ARRAY_TO_TUPLE_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/config/variadics.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/config/variadics.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/config/variadics.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -20,94 +20,94 @@
    in the future, we can change the above line to #if 0.
 */
 #if defined(__GCCXML__)
-// GCC-XML emulates other compilers, it has to appear first here!
+/* GCC-XML emulates other compilers, it has to appear first here! */
 # define BOOST_PP_VARIADICS 0
 #
 #elif defined __WAVE__
-// Wave preprocessor
+/* Wave preprocessor */
 #if !defined(__WAVE_HAS_VARIADICS__)
 # define BOOST_PP_VARIADICS 0
 #endif
 #
 #elif defined __CUDACC__
-// NVIDIA CUDA C++ compiler for GPU
+/* NVIDIA CUDA C++ compiler for GPU */
 #
 #elif defined __COMO__
-// Comeau C++
+/* Comeau C++ */
 #if defined(__EDG_VERSION__) && (__EDG_VERSION__ < 400)
 # define BOOST_PP_VARIADICS 0
 #endif
 #
 #elif defined(__PATHSCALE__)
-// PathScale EKOPath compiler (has to come before clang and gcc)
+/* PathScale EKOPath compiler (has to come before clang and gcc) */
 #if (__PATHCC__ >= 4)
 # define BOOST_PP_VARIADICS 0
 #endif
 #
 #elif defined __clang__
-// Clang C++ emulates GCC, so it has to appear early.
+/* Clang C++ emulates GCC, so it has to appear early. */
 #
 #elif defined __DMC__
-// Digital Mars C++
+/* Digital Mars C++ */
 # if (__DMC__ < 0x812)
 # define BOOST_PP_VARIADICS 0
 # endif
 #
 #elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
-// Intel
+/* Intel */
 #if defined(__EDG_VERSION__) && (__EDG_VERSION__ < 400)
 # define BOOST_PP_VARIADICS 0
 #endif
 #
 # elif defined __GNUC__
-// GNU C++:
+/* GNU C++ */
 # if __GNUC__ < 3
 # define BOOST_PP_VARIADICS 0
 # endif
 #
 #elif defined __KCC
-// Kai C++
+/* Kai C++ */
 #if defined(__EDG_VERSION__) && (__EDG_VERSION__ < 400)
 # define BOOST_PP_VARIADICS 0
 #endif
 #
 #elif defined __sgi
-// SGI MIPSpro C++
+/* SGI MIPSpro C++ */
 #if defined(__EDG_VERSION__) && (__EDG_VERSION__ < 400)
 # define BOOST_PP_VARIADICS 0
 #endif
 #
 #elif defined __DECCXX
-// Compaq Tru64 Unix cxx
+/* Compaq Tru64 Unix cxx */
 #if defined(__EDG_VERSION__) && (__EDG_VERSION__ < 400)
 # define BOOST_PP_VARIADICS 0
 #endif
 #
 #elif defined __ghs
-// Greenhills C++
+/* Greenhills C++ */
 #if defined(__EDG_VERSION__) && (__EDG_VERSION__ < 400)
 # define BOOST_PP_VARIADICS 0
 #endif
 #
 #elif defined __CODEGEARC__
-// CodeGear - must be checked for before Borland
+/* CodeGear - must be checked for before Borland */
 #
 #elif defined __BORLANDC__
-// Borland
+/* Borland */
 # if __BORLANDC__ <= 0x0550
 # define BOOST_PP_VARIADICS 0
 # endif
 #
 #elif defined __MWERKS__
-// Metrowerks CodeWarrior
+/* Metrowerks CodeWarrior */
 # define BOOST_PP_VARIADICS 0
 #
 #elif defined __SUNPRO_CC
-// Sun Workshop Compiler C++
+/* Sun Workshop Compiler C++ */
 # define BOOST_PP_VARIADICS 0
 #
 #elif defined __HP_aCC
-// HP aCC
+/* HP aCC */
 #if !defined(__EDG__)
 #if (__HP_aCC < 62500) || !defined(HP_CXX0x_SOURCE)
 # define BOOST_PP_VARIADICS 0
@@ -117,30 +117,29 @@
 #endif
 #
 #elif defined(__MRC__) || defined(__SC__)
-// MPW MrCpp or SCpp
+/* MPW MrCpp or SCpp */
 # define BOOST_PP_VARIADICS 0
 #
 #elif defined(__IBMCPP__)
-// IBM Visual Age
+/* IBM Visual Age */
 #if ! __C99_MACRO_WITH_VA_ARGS
 # define BOOST_NO_VARIADIC_MACROS
 #endif
 #
 #elif defined(__PGI)
-// Portland Group Inc.
+/* Portland Group Inc. */
 # define BOOST_PP_VARIADICS 0
 #
 #elif defined _MSC_VER
-// Microsoft Visual C++
-//
-// Must remain the last #elif since some other vendors (Metrowerks, for
-// example) also #define _MSC_VER
+/* Microsoft Visual C++
+ Must remain the last #elif since some other vendors (Metrowerks, for
+ example) also #define _MSC_VER */
 #if _MSC_VER < 1400
 # define BOOST_PP_VARIADICS 0
 #endif
 #
 #else
-// Unrecognized compiler assumes no variadic macro support for safety.
+/* Unrecognized compiler assumes no variadic macro support for safety. */
 # define BOOST_PP_VARIADICS 0
 #endif
 #
@@ -155,10 +154,10 @@
 # define BOOST_PP_VARIADICS 0
 # else
 # define BOOST_PP_VARIADICS 1
-# endif // BOOST_NO_VARIADIC_MACROS
+# endif /* BOOST_NO_VARIADIC_MACROS */
 #
-# endif // BOOST_PP_USE_BOOST_CONFIG
+# endif /* BOOST_PP_USE_BOOST_CONFIG */
 #
-# endif // BOOST_PP_VARIADICS
+# endif /* BOOST_PP_VARIADICS */
 #
-# endif // BOOST_PREPROCESSOR_CONFIG_VARIADICS_HPP
+# endif /* BOOST_PREPROCESSOR_CONFIG_VARIADICS_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/facilities/overload.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/facilities/overload.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/facilities/overload.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -77,5 +77,5 @@
 # define BOOST_PP_OV_CAT_II(res) res
 # endif
 #
-#endif // BOOST_PP_VARIADICS
-#endif // BOOST_PREPROCESSOR_FACILITIES_OVERLOAD_HPP
+#endif /* BOOST_PP_VARIADICS */
+#endif /* BOOST_PREPROCESSOR_FACILITIES_OVERLOAD_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/list/to_array.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/list/to_array.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/list/to_array.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -21,4 +21,4 @@
 #define BOOST_PP_LIST_TO_ARRAY(list) \
   BOOST_PP_TUPLE_TO_ARRAY(BOOST_PP_LIST_SIZE(list),BOOST_PP_LIST_TO_TUPLE(list)) \
 /**/
-# endif // BOOST_PREPROCESSOR_LIST_TO_ARRAY_HPP
+# endif /* BOOST_PREPROCESSOR_LIST_TO_ARRAY_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/list/to_seq.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/list/to_seq.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/list/to_seq.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -21,4 +21,4 @@
 #define BOOST_PP_LIST_TO_SEQ(list) \
   BOOST_PP_TUPLE_TO_SEQ(BOOST_PP_LIST_SIZE(list),BOOST_PP_LIST_TO_TUPLE(list)) \
 /**/
-# endif // BOOST_PREPROCESSOR_LIST_TO_SEQ_HPP
+# endif /* BOOST_PREPROCESSOR_LIST_TO_SEQ_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/seq/to_list.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/seq/to_list.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/seq/to_list.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -51,4 +51,4 @@
 # define BOOST_PP_SEQ_TO_LIST_X0
 # define BOOST_PP_SEQ_TO_LIST_Y0
 #
-# endif // BOOST_PREPROCESSOR_SEQ_TO_LIST_HPP
+# endif /* BOOST_PREPROCESSOR_SEQ_TO_LIST_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/tuple/detail/use_overload.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/tuple/detail/use_overload.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/tuple/detail/use_overload.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -192,5 +192,5 @@
 # define BOOST_PP_TUPLE_DETAIL_TO_SEQ_USE_OV_CAT_II(res) res
 # endif
 #
-# endif // BOOST_PP_VARIADICS
-# endif // BOOST_PREPROCESSOR_TUPLE_USE_OVERLOAD_HPP
+# endif /* BOOST_PP_VARIADICS */
+# endif /* BOOST_PREPROCESSOR_TUPLE_USE_OVERLOAD_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/tuple/eat.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/tuple/eat.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/tuple/eat.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -31,7 +31,7 @@
 #
 # define BOOST_PP_TUPLE_EAT(size) BOOST_PP_TUPLE_EAT_COMMON(size)
 #
-# endif // BOOST_PP_VARIADICS
+# endif /* BOOST_PP_VARIADICS */
 #
 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
 # define BOOST_PP_TUPLE_EAT_COMMON(size) BOOST_PP_TUPLE_EAT_I(size)

Modified: branches/pplib/variadics/boost/preprocessor/tuple/elem.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/tuple/elem.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/tuple/elem.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -41,7 +41,7 @@
 #
 # define BOOST_PP_TUPLE_ELEM(size, index, tuple) BOOST_PP_TUPLE_ELEM_COMMON(size, index, tuple)
 #
-# endif // BOOST_PP_VARIADICS
+# endif /* BOOST_PP_VARIADICS */
 #
 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
 # define BOOST_PP_TUPLE_ELEM_COMMON(size, index, tuple) BOOST_PP_TUPLE_ELEM_I(size, index, tuple)

Modified: branches/pplib/variadics/boost/preprocessor/tuple/enum.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/tuple/enum.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/tuple/enum.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -30,5 +30,5 @@
 #define BOOST_PP_TUPLE_ENUM(size, tuple) \
   BOOST_PP_TUPLE_REM_CTOR(size, tuple) \
 /**/
-#endif // BOOST_PP_VARIADICS
-#endif // BOOST_PREPROCESSOR_TUPLE_ENUM_HPP
+#endif /* BOOST_PP_VARIADICS */
+#endif /* BOOST_PREPROCESSOR_TUPLE_ENUM_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/tuple/rem.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/tuple/rem.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/tuple/rem.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -45,7 +45,7 @@
 #
 # define BOOST_PP_TUPLE_REM_CTOR(size, tuple) BOOST_PP_TUPLE_REM_CTOR_COMMON(size, tuple)
 #
-# endif // BOOST_PP_VARIADICS
+# endif /* BOOST_PP_VARIADICS */
 #
 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
 # define BOOST_PP_TUPLE_REM_COMMON(size) BOOST_PP_TUPLE_REM_I(size)

Modified: branches/pplib/variadics/boost/preprocessor/tuple/reverse.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/tuple/reverse.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/tuple/reverse.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -39,7 +39,7 @@
 #
 # define BOOST_PP_TUPLE_REVERSE(size, tuple) BOOST_PP_TUPLE_REVERSE_COMMON(size, tuple)
 #
-# endif // BOOST_PP_VARIADICS
+# endif /* BOOST_PP_VARIADICS */
 #
 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
 # define BOOST_PP_TUPLE_REVERSE_COMMON(size, tuple) BOOST_PP_TUPLE_REVERSE_I(size, tuple)

Modified: branches/pplib/variadics/boost/preprocessor/tuple/size.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/tuple/size.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/tuple/size.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -24,5 +24,5 @@
 #define BOOST_PP_TUPLE_SIZE(tuple) BOOST_PP_TUPLE_SIZE_DETAIL(tuple)
 #define BOOST_PP_TUPLE_SIZE_DETAIL(tuple) BOOST_PP_VARIADIC_SIZE(BOOST_PP_TUPLE_DETAIL_REM_CTOR_1(tuple))
 #
-#endif // BOOST_PP_VARIADICS
-#endif // BOOST_PREPROCESSOR_TUPLE_SIZE_HPP
+#endif /* BOOST_PP_VARIADICS */
+#endif /* BOOST_PREPROCESSOR_TUPLE_SIZE_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/tuple/to_array.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/tuple/to_array.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/tuple/to_array.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -39,5 +39,5 @@
   ( size, tuple ) \
 /**/
 #
-# endif // BOOST_PP_VARIADICS
-# endif // BOOST_PREPROCESSOR_TUPLE_TO_ARRAY_HPP
+# endif /* BOOST_PP_VARIADICS */
+# endif /* BOOST_PREPROCESSOR_TUPLE_TO_ARRAY_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/tuple/to_list.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/tuple/to_list.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/tuple/to_list.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -39,7 +39,7 @@
 #
 # define BOOST_PP_TUPLE_TO_LIST(size, tuple) BOOST_PP_TUPLE_TO_LIST_COMMON(size, tuple)
 #
-# endif // BOOST_PP_VARIADICS
+# endif /* BOOST_PP_VARIADICS */
 #
 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
 # define BOOST_PP_TUPLE_TO_LIST_COMMON(size, tuple) BOOST_PP_TUPLE_TO_LIST_I(size, tuple)

Modified: branches/pplib/variadics/boost/preprocessor/tuple/to_seq.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/tuple/to_seq.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/tuple/to_seq.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -38,7 +38,7 @@
 #
 # define BOOST_PP_TUPLE_TO_SEQ(size, tuple) BOOST_PP_TUPLE_TO_SEQ_COMMON(size, tuple)
 #
-# endif // BOOST_PP_VARIADICS
+# endif /* BOOST_PP_VARIADICS */
 #
 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
 # define BOOST_PP_TUPLE_TO_SEQ_COMMON(size, tuple) BOOST_PP_TUPLE_TO_SEQ_I(size, tuple)

Modified: branches/pplib/variadics/boost/preprocessor/variadic/detail/apply_var.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/variadic/detail/apply_var.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/variadic/detail/apply_var.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -19,4 +19,4 @@
   BOOST_PP_VARIADIC_DETAIL_APPLY_VAR_I(macro, args) \
 /**/
 #
-#endif // BOOST_PREPROCESSOR_VARIADIC_DETAIL_APPLYVAR_HPP
+#endif /* BOOST_PREPROCESSOR_VARIADIC_DETAIL_APPLYVAR_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/variadic/detail/elem.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/variadic/detail/elem.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/variadic/detail/elem.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -100,5 +100,5 @@
 /**/
 #endif
 #
-#endif // BOOST_PP_VARIADICS
-#endif // BOOST_PREPROCESSOR_VARIADIC_DETAIL_ELEM_HPP
+#endif /* BOOST_PP_VARIADICS */
+#endif /* BOOST_PREPROCESSOR_VARIADIC_DETAIL_ELEM_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/variadic/detail/size.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/variadic/detail/size.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/variadic/detail/size.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -52,5 +52,5 @@
 /**/
 #endif
 #
-#endif // BOOST_PP_VARIADICS
-#endif // BOOST_PREPROCESSOR_VARIADIC_DETAIL_SIZE_HPP
+#endif /* BOOST_PP_VARIADICS */
+#endif /* BOOST_PREPROCESSOR_VARIADIC_DETAIL_SIZE_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/variadic/detail/to_array.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/variadic/detail/to_array.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/variadic/detail/to_array.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -22,5 +22,5 @@
 #define BOOST_PP_VARIADIC_DETAIL_TO_ARRAY(...) \
   ( BOOST_PP_VARIADIC_DETAIL_SIZE(__VA_ARGS__) , BOOST_PP_VARIADIC_DETAIL_TO_TUPLE(__VA_ARGS__)) \
 /**/
-#endif // BOOST_PP_VARIADICS
-#endif // BOOST_PREPROCESSOR_VARIADIC_DETAIL_TO_ARRAY_HPP
+#endif /* BOOST_PP_VARIADICS */
+#endif /* BOOST_PREPROCESSOR_VARIADIC_DETAIL_TO_ARRAY_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/variadic/detail/to_list.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/variadic/detail/to_list.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/variadic/detail/to_list.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -26,5 +26,5 @@
 #define BOOST_PP_VARIADIC_DETAIL_TUPLE_TO_LIST(size,tuple) \
   BOOST_PP_TUPLE_TO_LIST(size,tuple) \
 /**/
-#endif // BOOST_PP_VARIADICS
-#endif // BOOST_PREPROCESSOR_VARIADIC_DETAIL_TO_LIST_HPP
+#endif /* BOOST_PP_VARIADICS */
+#endif /* BOOST_PREPROCESSOR_VARIADIC_DETAIL_TO_LIST_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/variadic/detail/to_seq.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/variadic/detail/to_seq.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/variadic/detail/to_seq.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -26,5 +26,5 @@
 #define BOOST_PP_VARIADIC_DETAIL_TUPLE_TO_SEQ(size,tuple) \
   BOOST_PP_TUPLE_TO_SEQ(size,tuple) \
 /**/
-#endif // BOOST_PP_VARIADICS
-#endif // BOOST_PREPROCESSOR_DETAIL_VARIADIC_TO_SEQ_HPP
+#endif /* BOOST_PP_VARIADICS */
+#endif /* BOOST_PREPROCESSOR_DETAIL_VARIADIC_TO_SEQ_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/variadic/detail/to_tuple.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/variadic/detail/to_tuple.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/variadic/detail/to_tuple.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -19,5 +19,5 @@
 #define BOOST_PP_VARIADIC_DETAIL_TO_TUPLE(...) \
   ( __VA_ARGS__ ) \
 /**/
-#endif // BOOST_PP_VARIADICS
-#endif // BOOST_PREPROCESSOR_VARIADIC_DETAIL_TO_TUPLE_HPP
+#endif /* BOOST_PP_VARIADICS */
+#endif /* BOOST_PREPROCESSOR_VARIADIC_DETAIL_TO_TUPLE_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/variadic/detail/vd_cat.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/variadic/detail/vd_cat.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/variadic/detail/vd_cat.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -30,4 +30,4 @@
 # define BOOST_PP_VD_CAT_II(res) res
 # endif
 #
-#endif // BOOST_PREPROCESSOR_VARIADIC_DETAIL_VD_CAT_HPP
+#endif /* BOOST_PREPROCESSOR_VARIADIC_DETAIL_VD_CAT_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/variadic/elem.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/variadic/elem.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/variadic/elem.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -22,5 +22,5 @@
   BOOST_PP_VARIADIC_DETAIL_DATA_ELEM(n,__VA_ARGS__) \
 /**/
 #
-#endif // BOOST_PP_VARIADICS
-#endif // BOOST_PREPROCESSOR_VARIADIC_ELEM_HPP
+#endif /* BOOST_PP_VARIADICS */
+#endif /* BOOST_PREPROCESSOR_VARIADIC_ELEM_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/variadic/size.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/variadic/size.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/variadic/size.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -21,5 +21,5 @@
 #define BOOST_PP_VARIADIC_SIZE(...) \
   BOOST_PP_VARIADIC_DETAIL_SIZE(__VA_ARGS__) \
 /**/
-#endif // BOOST_PP_VARIADICS
-#endif // BOOST_PREPROCESSOR_VARIADIC_SIZE_HPP
+#endif /* BOOST_PP_VARIADICS */
+#endif /* BOOST_PREPROCESSOR_VARIADIC_SIZE_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/variadic/to_array.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/variadic/to_array.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/variadic/to_array.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -21,5 +21,5 @@
 #define BOOST_PP_VARIADIC_TO_ARRAY(...) \
   BOOST_PP_VARIADIC_DETAIL_TO_ARRAY(__VA_ARGS__) \
 /**/
-#endif // BOOST_PP_VARIADICS
-#endif // BOOST_PREPROCESSOR_VARIADIC_TO_ARRAY_HPP
+#endif /* BOOST_PP_VARIADICS */
+#endif /* BOOST_PREPROCESSOR_VARIADIC_TO_ARRAY_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/variadic/to_list.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/variadic/to_list.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/variadic/to_list.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -21,5 +21,5 @@
 #define BOOST_PP_VARIADIC_TO_LIST(...) \
   BOOST_PP_VARIADIC_DETAIL_TO_LIST(__VA_ARGS__) \
 /**/
-#endif // BOOST_PP_VARIADICS
-#endif // BOOST_PREPROCESSOR_VARIADIC_TO_LIST_HPP
+#endif /* BOOST_PP_VARIADICS */
+#endif /* BOOST_PREPROCESSOR_VARIADIC_TO_LIST_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/variadic/to_seq.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/variadic/to_seq.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/variadic/to_seq.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -21,5 +21,5 @@
 #define BOOST_PP_VARIADIC_TO_SEQ(...) \
   BOOST_PP_VARIADIC_DETAIL_TO_SEQ(__VA_ARGS__) \
 /**/
-#endif // BOOST_PP_VARIADICS
-#endif // BOOST_PREPROCESSOR_VARIADIC_TO_SEQ_HPP
+#endif /* BOOST_PP_VARIADICS */
+#endif /* BOOST_PREPROCESSOR_VARIADIC_TO_SEQ_HPP */

Modified: branches/pplib/variadics/boost/preprocessor/variadic/to_tuple.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/variadic/to_tuple.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/variadic/to_tuple.hpp 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -21,5 +21,5 @@
 #define BOOST_PP_VARIADIC_TO_TUPLE(...) \
   BOOST_PP_VARIADIC_DETAIL_TO_TUPLE(__VA_ARGS__) \
 /**/
-#endif // BOOST_PP_VARIADICS
-#endif // BOOST_PREPROCESSOR_VARIADIC_TO_TUPLE_HPP
+#endif /* BOOST_PP_VARIADICS */
+#endif /* BOOST_PREPROCESSOR_VARIADIC_TO_TUPLE_HPP */

Modified: branches/pplib/variadics/libs/preprocessor/test/Jamfile.v2
==============================================================================
--- branches/pplib/variadics/libs/preprocessor/test/Jamfile.v2 (original)
+++ branches/pplib/variadics/libs/preprocessor/test/Jamfile.v2 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -33,6 +33,7 @@
         [ compile seq.cpp ]
         [ compile slot.cpp ]
         [ compile tuple.cpp ]
+ [ compile variadic.cpp ]
   ;
 
 test-suite preprocessor_nvm
@@ -52,3 +53,59 @@
         [ compile slot.cpp : <define>BOOST_PP_VARIADICS=0 : slot_nvm ]
         [ compile tuple.cpp : <define>BOOST_PP_VARIADICS=0 : tuple_nvm ]
   ;
+
+test-suite preprocessor_c
+ :
+ [ compile arithmetic.c
+ :
+ : arithmetic_c
+ ]
+ [ compile array.c
+ :
+ : array_c
+ ]
+ [ compile comparison.c
+ :
+ : comparison_c
+ ]
+ [ compile control.c
+ :
+ : control_c
+ ]
+ [ compile debug.c
+ :
+ : debug_c
+ ]
+ [ compile facilities.c
+ :
+ : facilities_c
+ ]
+ [ compile list.c
+ :
+ : list_c
+ ]
+ [ compile logical.c
+ :
+ : logical_c
+ ]
+ [ compile selection.c
+ :
+ : selection_c
+ ]
+ [ compile seq.c
+ :
+ : seq_c
+ ]
+ [ compile slot.c
+ :
+ : slot_c
+ ]
+ [ compile tuple.c
+ :
+ : tuple_c
+ ]
+ [ compile variadic.c
+ :
+ : variadic_c
+ ]
+ ;

Copied: branches/pplib/variadics/libs/preprocessor/test/arithmetic.c (from r70999, /branches/pplib/variadics/libs/preprocessor/test/arithmetic.cpp)
==============================================================================
--- /branches/pplib/variadics/libs/preprocessor/test/arithmetic.cpp (original)
+++ branches/pplib/variadics/libs/preprocessor/test/arithmetic.c 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -13,7 +13,7 @@
 # include <boost/preprocessor/config/limits.hpp>
 # include <libs/preprocessor/test/test.h>
 
-// addition
+/* addition */
 
 BEGIN BOOST_PP_ADD(2, 3) == 5 END
 
@@ -21,7 +21,7 @@
 BEGIN BOOST_PP_ADD(2, BOOST_PP_ADD(1, 4)) == 7 END
 BEGIN BOOST_PP_ADD(BOOST_PP_ADD(2, 2), BOOST_PP_ADD(2, 2)) == 8 END
 
-// subtraction
+/* subtraction */
 
 BEGIN BOOST_PP_SUB(11, 0) == 11 END
 BEGIN BOOST_PP_SUB(12, 1) == 11 END
@@ -31,7 +31,7 @@
 BEGIN BOOST_PP_SUB(BOOST_PP_SUB(10, 5), 2) == 3 END
 BEGIN BOOST_PP_SUB(BOOST_PP_SUB(7, 3), BOOST_PP_SUB(10, 8)) == 2 END
 
-// multiplication
+/* multiplication */
 
 BEGIN BOOST_PP_MUL(0, 1) == 0 END
 BEGIN BOOST_PP_MUL(1, 0) == 0 END
@@ -42,7 +42,7 @@
 BEGIN BOOST_PP_MUL(2, BOOST_PP_MUL(2, 2)) == 8 END
 BEGIN BOOST_PP_MUL(BOOST_PP_MUL(2, 2), BOOST_PP_MUL(2, 2)) == 16 END
 
-// division
+/* division */
 
 BEGIN BOOST_PP_DIV(2, 1) == 2 END
 BEGIN BOOST_PP_DIV(0, 5) == 0 END
@@ -52,7 +52,7 @@
 BEGIN BOOST_PP_DIV(10, BOOST_PP_DIV(10, 2)) == 2 END
 BEGIN BOOST_PP_DIV(BOOST_PP_DIV(10, 2), BOOST_PP_DIV(4, 2)) == 2 END
 
-// modulus
+/* modulus */
 
 BEGIN BOOST_PP_MOD(5, 5) == 0 END
 BEGIN BOOST_PP_MOD(9, 5) == 4 END

Copied: branches/pplib/variadics/libs/preprocessor/test/array.c (from r71001, /branches/pplib/variadics/libs/preprocessor/test/array.cpp)
==============================================================================
--- /branches/pplib/variadics/libs/preprocessor/test/array.cpp (original)
+++ branches/pplib/variadics/libs/preprocessor/test/array.c 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -23,17 +23,17 @@
 
 # define ARRAY (3, (0, 1, 2))
 
-// element access
+/* element access */
 
 BEGIN BOOST_PP_ARRAY_ELEM(1, ARRAY) == 1 END
 BEGIN BOOST_PP_ARRAY_ELEM(2, (5, (0, 1, 2, 3, 4))) == 2 END
 
-// size
+/* size */
 
 BEGIN BOOST_PP_ARRAY_SIZE(ARRAY) == 3 END
 BEGIN BOOST_PP_ARRAY_SIZE((5, (0, 1, 2, 3, 4))) == 5 END
 
-// enum
+/* enum */
 
 # if BOOST_PP_VARIADICS
 
@@ -43,17 +43,17 @@
 
 # endif
 
-// to_list
+/* to_list */
 
 BEGIN BOOST_PP_LIST_AT(BOOST_PP_ARRAY_TO_LIST(ARRAY), 1) == 1 END
 BEGIN BOOST_PP_LIST_AT(BOOST_PP_ARRAY_TO_LIST((5, (0, 1, 2, 3, 4))), 4) == 4 END
 
-// to_seq
+/* to_seq */
 
 BEGIN BOOST_PP_SEQ_ELEM(0, BOOST_PP_ARRAY_TO_SEQ(ARRAY)) == 0 END
 BEGIN BOOST_PP_SEQ_ELEM(3, BOOST_PP_ARRAY_TO_SEQ((5, (0, 1, 2, 3, 4)))) == 3 END
 
-// to_tuple
+/* to_tuple */
 
 # if BOOST_PP_VARIADICS
 

Copied: branches/pplib/variadics/libs/preprocessor/test/comparison.c (from r70999, /branches/pplib/variadics/libs/preprocessor/test/comparison.cpp)
==============================================================================
--- /branches/pplib/variadics/libs/preprocessor/test/comparison.cpp (original)
+++ branches/pplib/variadics/libs/preprocessor/test/comparison.c 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -12,33 +12,33 @@
 # include <boost/preprocessor/comparison.hpp>
 # include <libs/preprocessor/test/test.h>
 
-// equality
+/* equality */
 
 BEGIN BOOST_PP_EQUAL(2, 0) == 0 END
 BEGIN BOOST_PP_EQUAL(2, 2) == 1 END
 
-// inequality
+/* inequality */
 
 BEGIN BOOST_PP_NOT_EQUAL(2, 0) == 1 END
 BEGIN BOOST_PP_NOT_EQUAL(2, 2) == 0 END
 
-// less
+/* less */
 
 BEGIN BOOST_PP_LESS(2, 1) == 0 END
 BEGIN BOOST_PP_LESS(1, 2) == 1 END
 
-// less_equal
+/* less_equal */
 
 BEGIN BOOST_PP_LESS_EQUAL(2, 1) == 0 END
 BEGIN BOOST_PP_LESS_EQUAL(1, 2) == 1 END
 BEGIN BOOST_PP_LESS_EQUAL(2, 2) == 1 END
 
-// greater
+/* greater */
 
 BEGIN BOOST_PP_GREATER(2, 1) == 1 END
 BEGIN BOOST_PP_GREATER(1, 2) == 0 END
 
-// greater_equal
+/* greater_equal */
 
 BEGIN BOOST_PP_GREATER_EQUAL(2, 1) == 1 END
 BEGIN BOOST_PP_GREATER_EQUAL(1, 2) == 0 END

Modified: branches/pplib/variadics/libs/preprocessor/test/test.h
==============================================================================
--- branches/pplib/variadics/libs/preprocessor/test/test.h (original)
+++ branches/pplib/variadics/libs/preprocessor/test/test.h 2011-04-05 15:41:48 EDT (Tue, 05 Apr 2011)
@@ -19,12 +19,15 @@
 # define BEGIN typedef int BOOST_PP_CAT(test_, __LINE__)[((
 # define END )==1) ? 1 : -1];
 
+#if defined(__cplusplus)
 #include <cstdio>
-
 #if !defined(_STLP_MSVC) || _STLP_MSVC >= 1300
 namespace std { }
 using namespace std;
 #endif
+#else
+#include <stdio.h>
+#endif
 
 int main(void) {
     printf("pass " __TIME__);


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