Skip to content

Commit 584bd85

Browse files
committed
Added the comment for BOOST_PP_VARIADICS define.
1 parent 777e5f1 commit 584bd85

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

erb/cpp03_define_map.hpp.erb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020

2121
#if defined(MSGPACK_USE_BOOST)
2222

23+
// BOOST_PP_VARIADICS is defined in boost/preprocessor/config/config.hpp
24+
// http://www.boost.org/libs/preprocessor/doc/ref/variadics.html
25+
// However, supporting compiler detection is not complete. msgpack-c requires
26+
// variadic macro arguments support. So BOOST_PP_VARIADICS is defined here explicitly.
2327
#define BOOST_PP_VARIADICS
2428
#include <boost/preprocessor.hpp>
2529

include/msgpack/adaptor/detail/cpp03_define_map.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020

2121
#if defined(MSGPACK_USE_BOOST)
2222

23+
// BOOST_PP_VARIADICS is defined in boost/preprocessor/config/config.hpp
24+
// http://www.boost.org/libs/preprocessor/doc/ref/variadics.html
25+
// However, supporting compiler detection is not complete. msgpack-c requires
26+
// variadic macro arguments support. So BOOST_PP_VARIADICS is defined here explicitly.
2327
#define BOOST_PP_VARIADICS
2428
#include <boost/preprocessor.hpp>
2529

include/msgpack/adaptor/detail/cpp11_define_map.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020

2121
#if defined(MSGPACK_USE_BOOST)
2222

23+
// BOOST_PP_VARIADICS is defined in boost/preprocessor/config/config.hpp
24+
// http://www.boost.org/libs/preprocessor/doc/ref/variadics.html
25+
// However, supporting compiler detection is not complete. msgpack-c requires
26+
// variadic macro arguments support. So BOOST_PP_VARIADICS is defined here explicitly.
2327
#define BOOST_PP_VARIADICS
2428
#include <boost/preprocessor.hpp>
2529

0 commit comments

Comments
 (0)