On 11/13/2013 4:28 PM, Jeremiah Willcock wrote:
When using Clang version "Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)" in C++11 mode, the code:
#include
BOOST_PP_TUPLE_REM()(foo(bar, baz) const) is not expanded correctly. The second line expands to:
BOOST_PP_TUPLE_REM_(foo(bar, baz) const)
while on GCC 4.9, it expands to:
foo(bar, baz) const
Is there a known issue with this macro on Clang?
When Paul created the code for automatically determining if a compiler has variadic macro support he did not include clang as among the compilers for which BOOST_PP_VARIADICS is 1 ( variadic support is on ). Please try specifically turning on variadic macro support for clang by defining BOOST_PP_VARIADICS=1 when you use the clang compiler.