BOOST with clang; error: pasting formed an invalid preprocessing token

I'm attempting to compile code that uses the boost serializer library. I get these errors from Boost, can anyone give me a general idea what this is about? Thanks very much.

C:\Program Files (x86)\LLVM\vs11\bin\Debug>clang++ -fno-ms-compatibility -fno-delayed-template-parsing -nostdinc -std=c++11 -c -v -o serializer_type.o serializer_type.cpp -I "C:\MinGW\include\sys" -I "C:\MinGW\include" -I "C:\MinGW\include\c++" -I "F:\boost_1_54_0" -I "c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++" -I "c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/mingw32" -I "c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/backward" -I "c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include" -I "c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include" -I"c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include-fixed" -D__MSVCRT__=1 -D_GLIBCXX_CTIME=1
clang version 3.4 (trunk)
Target: i686-pc-win32
Thread model: posix
  "C:/Program Files (x86)/LLVM/vs11/bin/Debug/clang++.exe" -cc1 -triple i686-pc-win32 -emit-obj -mrelax-all -disable-free -main-file-name serializer_type.cpp -mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu pentium4 -v -coverage-file serializer_type.o -nostdsysteminc -nobuiltininc -resource-dir "C:/Program Files (x86)/LLVM/vs11/bin/Debug\\..\\lib\\clang\\3.4" -D __MSVCRT__=1 -D _GLIBCXX_CTIME=1 -I "C:\\MinGW\\include\\sys" -I "C:\\MinGW\\include" -I "C:\\MinGW\\include\\c++" -I "F:\\boost_1_54_0" -I "c:\\mingw\\bin\\../lib/gcc/mingw32/4.7.2/include/c++" -I "c:\\mingw\\bin\\../lib/gcc/mingw32/4.7.2/include/c++/mingw32" -I "c:\\mingw\\bin\\../lib/gcc/mingw32/4.7.2/include/c++/backward" -I "c:\\mingw\\bin\\../lib/gcc/mingw32/4.7.2/include" -I "c:\\mingw\\bin\\../lib/gcc/mingw32/4.7.2/../../../../include" -I "c:\\mingw\\bin\\../lib/gcc/mingw32/4.7.2/include-fixed" -std=c++11 -fdeprecated-macro -ferror-limit 19 -fmessage-length 80 -mstackrealign -fms-extensions -fmsc-version=1300 -fobjc-runtime=gcc -fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loops -o serializer_type.o -x c++ serializer_type.cpp
clang -cc1 version 3.4 based upon LLVM 3.4svn default target i686-pc-win32
ignoring nonexistent directory "C:\MinGW\include\c++"
#include "..." search starts here:
#include <...> search starts here:
  C:\MinGW\include\sys
  C:\MinGW\include
  F:\boost_1_54_0
  c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++
  c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/mingw32
  c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/backward
  c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include
  c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include
  c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include-fixed
End of search list.
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_E_2(', an invalid preprocessing token
       [-Winvalid-token-paste]
BOOST_MPL_AUX_NA_SPEC(1,not_)
^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:114: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
   ...tuple) BOOST_PP_TUPLE_ELEM_I(BOOST_PP_CAT(BOOST_PP_TUPLE_ELEM_, n), BOOS...
^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:22:32: note: expanded from macro
       'BOOST_PP_CAT'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
                                ^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:31:55: note: expanded from macro
       'BOOST_PP_CAT_I'
# define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(~, a ## b)
                                                       ^
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_1(', an invalid preprocessing token
       [-Winvalid-token-paste]
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:53: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
# define BOOST_PP_TUPLE_ELEM(size, n, tuple) BOOST_PP_TUPLE_ELEM_...
                                                     ^
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:37:48: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM_I'
# define BOOST_PP_TUPLE_ELEM_I(m, args) BOOST_PP_TUPLE_ELEM_II(m, args)
                                                ^
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:38:64: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM_II'
# define BOOST_PP_TUPLE_ELEM_II(m, args) BOOST_PP_CAT(m ## args,)
                                                                ^
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_E_2(', an invalid preprocessing token
       [-Winvalid-token-paste]
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:114: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
   ...tuple) BOOST_PP_TUPLE_ELEM_I(BOOST_PP_CAT(BOOST_PP_TUPLE_ELEM_, n), BOOS...
^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:22:32: note: expanded from macro
       'BOOST_PP_CAT'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
                                ^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:31:55: note: expanded from macro
       'BOOST_PP_CAT_I'
# define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(~, a ## b)
                                                       ^
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_1(', an invalid preprocessing token
       [-Winvalid-token-paste]
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:53: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
# define BOOST_PP_TUPLE_ELEM(size, n, tuple) BOOST_PP_TUPLE_ELEM_...
                                                     ^
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:37:48: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM_I'
# define BOOST_PP_TUPLE_ELEM_I(m, args) BOOST_PP_TUPLE_ELEM_II(m, args)
                                                ^
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:38:64: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM_II'
# define BOOST_PP_TUPLE_ELEM_II(m, args) BOOST_PP_CAT(m ## args,)
                                                                ^
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_E_2(', an invalid preprocessing token
       [-Winvalid-token-paste]
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:114: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
   ...tuple) BOOST_PP_TUPLE_ELEM_I(BOOST_PP_CAT(BOOST_PP_TUPLE_ELEM_, n), BOOS...
^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:22:32: note: expanded from macro
       'BOOST_PP_CAT'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
                                ^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:31:55: note: expanded from macro
       'BOOST_PP_CAT_I'
# define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(~, a ## b)
                                                       ^
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_0(', an invalid preprocessing token
       [-Winvalid-token-paste]
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:53: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
# define BOOST_PP_TUPLE_ELEM(size, n, tuple) BOOST_PP_TUPLE_ELEM_...
                                                     ^
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:37:48: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM_I'
# define BOOST_PP_TUPLE_ELEM_I(m, args) BOOST_PP_TUPLE_ELEM_II(m, args)
                                                ^
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:38:64: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM_II'
# define BOOST_PP_TUPLE_ELEM_II(m, args) BOOST_PP_CAT(m ## args,)
                                                                ^
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_E_3(', an invalid preprocessing token
       [-Winvalid-token-paste]
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:114: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
   ...tuple) BOOST_PP_TUPLE_ELEM_I(BOOST_PP_CAT(BOOST_PP_TUPLE_ELEM_, n), BOOS...
^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:22:32: note: expanded from macro
       'BOOST_PP_CAT'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
                                ^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:31:55: note: expanded from macro
       'BOOST_PP_CAT_I'
# define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(~, a ## b)
                                                       ^
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_1(', an invalid preprocessing token
       [-Winvalid-token-paste]
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:53: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
# define BOOST_PP_TUPLE_ELEM(size, n, tuple) BOOST_PP_TUPLE_ELEM_...
                                                     ^
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:37:48: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM_I'
# define BOOST_PP_TUPLE_ELEM_I(m, args) BOOST_PP_TUPLE_ELEM_II(m, args)
                                                ^
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:38:64: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM_II'
# define BOOST_PP_TUPLE_ELEM_II(m, args) BOOST_PP_CAT(m ## args,)
                                                                ^
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_E_3(', an invalid preprocessing token
       [-Winvalid-token-paste]
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:114: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
   ...tuple) BOOST_PP_TUPLE_ELEM_I(BOOST_PP_CAT(BOOST_PP_TUPLE_ELEM_, n), BOOS...
^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:22:32: note: expanded from macro
       'BOOST_PP_CAT'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
                                ^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:31:55: note: expanded from macro
       'BOOST_PP_CAT_I'
# define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(~, a ## b)
                                                       ^
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_0(', an invalid preprocessing token
       [-Winvalid-token-paste]
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:53: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
# define BOOST_PP_TUPLE_ELEM(size, n, tuple) BOOST_PP_TUPLE_ELEM_...
                                                     ^
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:37:48: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM_I'
# define BOOST_PP_TUPLE_ELEM_I(m, args) BOOST_PP_TUPLE_ELEM_II(m, args)
                                                ^
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:38:64: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM_II'
# define BOOST_PP_TUPLE_ELEM_II(m, args) BOOST_PP_CAT(m ## args,)
                                                                ^
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_E_2(', an invalid preprocessing token
       [-Winvalid-token-paste]
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 12 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:114: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
   ...tuple) BOOST_PP_TUPLE_ELEM_I(BOOST_PP_CAT(BOOST_PP_TUPLE_ELEM_, n), BOOS...
^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:22:32: note: expanded from macro
       'BOOST_PP_CAT'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
                                ^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:31:55: note: expanded from macro
       'BOOST_PP_CAT_I'
# define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(~, a ## b)
                                                       ^
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_1(', an invalid preprocessing token
       [-Winvalid-token-paste]
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 12 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:53: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
# define BOOST_PP_TUPLE_ELEM(size, n, tuple) BOOST_PP_TUPLE_ELEM_...
                                                     ^
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:37:48: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM_I'
# define BOOST_PP_TUPLE_ELEM_I(m, args) BOOST_PP_TUPLE_ELEM_II(m, args)
                                                ^
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:38:64: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM_II'
# define BOOST_PP_TUPLE_ELEM_II(m, args) BOOST_PP_CAT(m ## args,)
                                                                ^
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_E_2(', an invalid preprocessing token
       [-Winvalid-token-paste]
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 13 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:114: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
   ...tuple) BOOST_PP_TUPLE_ELEM_I(BOOST_PP_CAT(BOOST_PP_TUPLE_ELEM_, n), BOOS...
^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:22:32: note: expanded from macro
       'BOOST_PP_CAT'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
                                ^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:31:55: note: expanded from macro
       'BOOST_PP_CAT_I'
# define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(~, a ## b)
                                                       ^
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_1(', an invalid preprocessing token
       [-Winvalid-token-paste]
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 13 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:53: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
# define BOOST_PP_TUPLE_ELEM(size, n, tuple) BOOST_PP_TUPLE_ELEM_...
                                                     ^
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:37:48: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM_I'
# define BOOST_PP_TUPLE_ELEM_I(m, args) BOOST_PP_TUPLE_ELEM_II(m, args)
                                                ^
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:38:64: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM_II'
# define BOOST_PP_TUPLE_ELEM_II(m, args) BOOST_PP_CAT(m ## args,)
                                                                ^
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_E_2(', an invalid preprocessing token
       [-Winvalid-token-paste]
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 14 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:114: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
   ...tuple) BOOST_PP_TUPLE_ELEM_I(BOOST_PP_CAT(BOOST_PP_TUPLE_ELEM_, n), BOOS...
^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:22:32: note: expanded from macro
       'BOOST_PP_CAT'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
                                ^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:31:55: note: expanded from macro
       'BOOST_PP_CAT_I'
# define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(~, a ## b)
                                                       ^
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_1(', an invalid preprocessing token
       [-Winvalid-token-paste]
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 14 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:53: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
# define BOOST_PP_TUPLE_ELEM(size, n, tuple) BOOST_PP_TUPLE_ELEM_...
                                                     ^
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:37:48: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM_I'
# define BOOST_PP_TUPLE_ELEM_I(m, args) BOOST_PP_TUPLE_ELEM_II(m, args)
                                                ^
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:38:64: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM_II'
# define BOOST_PP_TUPLE_ELEM_II(m, args) BOOST_PP_CAT(m ## args,)
                                                                ^
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_E_2(', an invalid preprocessing token
       [-Winvalid-token-paste]
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 10 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:114: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
   ...tuple) BOOST_PP_TUPLE_ELEM_I(BOOST_PP_CAT(BOOST_PP_TUPLE_ELEM_, n), BOOS...
^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:22:32: note: expanded from macro
       'BOOST_PP_CAT'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
                                ^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:31:55: note: expanded from macro
       'BOOST_PP_CAT_I'
# define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(~, a ## b)
                                                       ^
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_0(', an invalid preprocessing token
       [-Winvalid-token-paste]
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 10 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:53: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
# define BOOST_PP_TUPLE_ELEM(size, n, tuple) BOOST_PP_TUPLE_ELEM_...
                                                     ^
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:37:48: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM_I'
# define BOOST_PP_TUPLE_ELEM_I(m, args) BOOST_PP_TUPLE_ELEM_II(m, args)
                                                ^
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:38:64: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM_II'
# define BOOST_PP_TUPLE_ELEM_II(m, args) BOOST_PP_CAT(m ## args,)
                                                                ^
In file included from serializer_type.cpp:2:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive.hpp:21:
In file included from F:\boost_1_54_0\boost/archive/binary_oarchive_impl.hpp:22:
In file included from F:\boost_1_54_0\boost/archive/basic_binary_oprimitive.hpp:49:
In file included from F:\boost_1_54_0\boost/mpl/placeholders.hpp:24:
In file included from F:\boost_1_54_0\boost/mpl/arg.hpp:25:
In file included from F:\boost_1_54_0\boost/mpl/aux_/na_assert.hpp:23:
In file included from F:\boost_1_54_0\boost/mpl/assert.hpp:17:
F:\boost_1_54_0\boost/mpl/not.hpp:47:1: error: pasting formed
       'BOOST_PP_TUPLE_ELEM_E_3(', an invalid preprocessing token
       [-Winvalid-token-paste]
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro
       'BOOST_MPL_AUX_NA_SPEC'
#define BOOST_MPL_AUX_NA_SPEC(i, name) \
                                        ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_NO_ETI'
#define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \
                                               ^
F:\boost_1_54_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\
BOOST_MPL_AUX_NA_SPEC_MAIN'
         BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \
         ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
F:\boost_1_54_0\boost/preprocessor/tuple/elem.hpp:36:114: note: expanded from
       macro 'BOOST_PP_TUPLE_ELEM'
   ...tuple) BOOST_PP_TUPLE_ELEM_I(BOOST_PP_CAT(BOOST_PP_TUPLE_ELEM_, n), BOOS...
^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:22:32: note: expanded from macro
       'BOOST_PP_CAT'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
                                ^
F:\boost_1_54_0\boost/preprocessor/cat.hpp:31:55: note: expanded from macro
       'BOOST_PP_CAT_I'
# define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(~, a ## b)
                                                       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

The error has to do with the use of the token pasting operator, "##".
Pasting together the tokens "BOOST_PP_TUPLE_ELEM_E_2" and "(" is not
allowed because the result doesn't make any sense.

-Eli

I’m attempting to compile code that uses the boost serializer library. I get these errors from Boost, can anyone give me a general idea what this is about? Thanks very much.

C:\Program Files (x86)\LLVM\vs11\bin\Debug>clang++ -fno-ms-compatibility -fno-delayed-template-parsing

Here you turn off Microsoft compatibility mode.

-nostdinc -std=c++11 -c -v -o serializer_type.o serializer_type.cpp -I “C:\MinGW\include\sys” -I “C:\MinGW\include” -I “C:\MinGW\include\c++” -I “F:\boost_1_54_0” -I “c:\mingw\bin../lib/gcc/mingw32/4.7.2/include/c++” -I “c:\mingw\bin../lib/gcc/mingw32/4.7.2/include/c++/mingw32” -I “c:\mingw\bin../lib/gcc/mingw32/4.7.2/include/c++/backward” -I “c:\mingw\bin../lib/gcc/mingw32/4.7.2/include” -I “c:\mingw\bin../lib/gcc/mingw32/4.7.2/…/…/…/…/include” -I"c:\mingw\bin../lib/gcc/mingw32/4.7.2/include-fixed"
-D__MSVCRT__=1

Here you ask boost to use Microsoft extensions.

Boost is attempting to work around a bug in msvc’s implementation of token pasting, because you told it you’re building with msvc. But that fails because you turned off our msvc bug compatibility mode.

-D_GLIBCXX_CTIME=1

Hey Richard, thanks a lot for getting back to me so quickly. That's fair
enough, I had added -fno-ms-compatibility as advised by someone from the
list earlier to try and get around errors that were coming up in the mingw
STL headers and then I added the defines later to get around the errors
shown below (obviously a mistake). Can you tell me the arguments I should
be using if I want to compile using the mingw STL and Boost? Here is what I
get without the defines:

I don't know exactly which arguments you should be using. However, I can
take a guess.

C:\Program Files (x86)\LLVM\vs11\bin\Debug>clang++ -fno-ms-compatibility
-fno-delayed-template-parsing -nostdinc -std=c++11 -c -v -o
serializer_type.o serializer_type.cpp -I "C:\MinGW\include\sys" -I
"C:\MinGW\include" -I "C:\MinGW\include\c++" -I "F:\boost_1_54_0" -I
"c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++" -I
"c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/mingw32" -I
"c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/backward" -I
"c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include" -I
"c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include"
-I"c:\mingw\bin\../lib/gcc/mingw32/4.7.2/include-fixed"

clang version 3.4 (trunk)
Target: i686-pc-win32

MinGW32 and Win32 are two separate targets with different ABIs, different
"standard" system compilers, different sets of expected predefined macros,
and a different set of expected bugs that we work around by default. Here,
it looks like Clang believes it is targeting Win32, not MinGW32. Since you
seem to be trying to target MinGW32, not Win32, maybe *-target
i686-pc-mingw32* will help. That should also remove the need to specify
-fno-ms-compatibility and -fno-delayed-template-parsing.

Thread model: posix