So sorry.
I made a mistake.
Forget it.
Thanks.

--Ed


On 8/10/12, Edward Kim <[email protected]> wrote:
> error: suggest parentheses around assignment used as truth value
>
> Thanks
>
>
> On 8/10/12, Nilay Vaish <[email protected]> wrote:
>> On Fri, 10 Aug 2012, Edward Kim wrote:
>>
>>> Hi All,
>>>
>>> Instruction Sequence Number can be shown as follows.
>>>     cprintf("[sn:%i] \n", instruction->seqNum);
>>> The data type is %i. I'm unfamiliar with %i.
>>>
>>> I'd like to compare an instruction SegNum with a specific sequence
>>> number like this.
>>>     if (instruction->SeqNum == 22162745)
>>> Of course, this statement generates compile error.
>>>
>>
>> And what's the error that's generated?
>>
>> --
>> Nilay
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to