Topic
1 reply Latest Post - ‏2013-04-01T10:11:37Z by waldstein
waldstein
waldstein
33 Posts
ACCEPTED ANSWER

Pinned topic CDISP0009E ERROR: Syntax error at token 'rstring' in 'type'

‏2013-04-01T09:01:12Z |
Hi all,

I wrote a very simple operator like this by C++:
void MY_OPERATOR::process(Tuple const & tuple, uint32_t port)
{
IPort0Type const & tp = static_cast<IPort0Type const&> (tuple);

rstring temp = tp.get_value();
OPort0Type outputTuple(sizeof(temp));
submit(outputTuple,0);
}

But when compiling, it says:
CDISP0009E ERROR: Syntax error at token 'rstring' in 'type'
If I used "SPL::rstring", same error happens.
I found it from SPL C++ type mappings in the document.
Why does it happen?

Thank you!
  • waldstein
    waldstein
    33 Posts
    ACCEPTED ANSWER

    Re: CDISP0009E ERROR: Syntax error at token 'rstring' in 'type'

    ‏2013-04-01T10:11:37Z  in response to waldstein
    I have solved this. Please ignore it :)