[cfe-dev] BOOST with clang; error: pasting formed an invalid preprocessing token

Eli Friedman eli.friedman at gmail.com
Wed Sep 4 09:12:26 PDT 2013


On Wed, Sep 4, 2013 at 1:15 AM, Kim <soldoutseashell at gmail.com> wrote:

> 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.
>

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130904/aeb09228/attachment.html>


More information about the cfe-dev mailing list