[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
undefined code
From: |
d binderman |
Subject: |
undefined code |
Date: |
Wed, 19 Jan 2005 11:39:07 +0000 |
Hello there,
I just tried to compile package gdb-6.3 on a Redhat Linux box.
The compiler said
../../gdb-6.3/gdb/dwarf2-frame.c:1359: warning: operation on `buf' may be
undefined
The source code is
buf += size_of_encoded_value (*buf++);
I agree with the compiler - this code is certainly undefined.
Maybe
buf += 1 + size_of_encoded_value (*buf);
was intended by the programmer ?
Regards
David Binderman
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- undefined code,
d binderman <=