Re: [Discuss-gnuradio] Casting an input value using block() function

2012-11-04 Thread Jose Torres Diaz
Thanks Bastian, This fix the issue, Regards, Jose On Mon, Nov 5, 2012 at 5:11 PM, Bastian Bloessl wrote: > Hi Jose, > > > On 11/05/2012 01:12 AM, Jose Torres Diaz wrote: > >> int work( >> const InputItems &input_items, >> const OutputItems &output_items >> ){ >> >>

Re: [Discuss-gnuradio] Casting an input value using block() function

2012-11-04 Thread Jose Torres Diaz
Hi, In order to add more information, I found some information here: http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Fkeyword_const_cast.htm As I understand, the issue is with this line in block. h typedef std::vector > InputItems

[Discuss-gnuradio] Casting an input value using block() function

2012-11-04 Thread Jose Torres Diaz
Hi, My question is related to the work function using block() as provided in GRExtras. I have a block that input a gr_complex value and output a gr_complex value. I'm trying to cast the input and output, in order to use them in my work function, what I have is: int work( const InputItems