id summary reporter owner description type status milestone component version severity resolution keywords cc 3552 concatenation does not work with BOOST_PP_COMMA() with g++ mkraemer@… No-Maintainer "The concatenation of a token with a comma does not work with g++ Example:[[BR]] {{{ cmd>cat test.cpp #include #include BOOST_PP_CAT(test,BOOST_PP_COMMA()) }}} === g++ v3.4.4 === {{{ cmd>g++-3 --version g++-3 (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) cmd>g++-3 -E -P -I D:\Development\boost\1.40.0 test.cpp test.cpp:3:35: macro ""BOOST_PP_CAT_I"" passed 3 arguments, but takes just 2 BOOST_PP_CAT_I; }}} === g++ 4.3.2 === {{{ cmd>g++-4 --version g++-4 (GCC) 4.3.2 20080827 (beta) 2 cmd>g++-4 -E -P -I D:\Development\boost\1.40.0 test.cpp test.cpp:3:35: error: macro ""BOOST_PP_CAT_I"" passed 3 arguments, but takes just 2 BOOST_PP_CAT_I; }}} === Wheras MS VisualStudio 2005 works === {{{ cmd>cl /E -I D:\Development\boost\1.40.0 test.cpp Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved. ... #line 3 ""test6.cpp"" test, }}} " Support Requests closed Boost 1.41.0 preprocessor Boost 1.40.0 Problem invalid