Originally posted by: Sunanda_Gamage
Hi all,
I'm trying to compile a program that uses boost::lockfree::queue with IBM XLC++ 13.1.2 and I get a number of errors similar to
"boost/parameter/parameters.hpp:718:22: error: pasting formed 'BOOST_PP_SEQ_ELEM_0(', an invalid preprocessing token"
This seems to come from the "##" preprocessing operator in boost/preprocessor/list/adt.hpp
define BOOST_PP_LIST_IS_CONS_D(list) BOOST_PP_LIST_IS_CONS_ ## list
I'm on a POWER8 (Little Endian) machine with SUSE Linux Enterprise Server 12. I have tried boost 1.55 (with the patch for XLC++ 13.1) and 1.58 and get similar results.
The following compiler flags are used.
/usr/bin/xlc++ -+ -qlanglvl=extended0x -qthreaded -ferror-limit=500 -O4 -q64
Full compile report and my system information are attached.
Anyone has any idea why this is happening?
Thanks in advance!
Sunanda
#C/C++-compilers-for-AIX#C/C++andFortran