[Dwarf-Discuss] _dwarf_p_error(): Does it correctly handle negative error values?

Ron Louzon louzonr@yahoo.com
Fri Jan 21 18:35:44 GMT 2011


For me, the only issue with the code is that it causes Microsoft's C++ compilers 
to throw a warning about applying the unary "-" operator to an unsigned number.

- Ron


----- Original Message ----
From: David Anderson <davea42@earthlink.net>
To: dwarf-discuss at lists.dwarfstd.org
Sent: Fri, January 21, 2011 1:30:24 PM
Subject: Re: [Dwarf-Discuss] _dwarf_p_error(): Does it correctly handle negative 
error values?

...

I cannot remember why? that libdwarf-internal function treats negatives as it 
does,
but it seems unimportant (unless there is something I am missing here).
Perhaps a comment in the source about the intent would be a good idea.

David Anderson

-- Maybe it's in the basement, let me go up stairs and check . --? M. C. Escher 
_______________________________________________
Dwarf-Discuss mailing list
Dwarf-Discuss at lists.dwarfstd.org
http://lists.dwarfstd.org/listinfo.cgi/dwarf-discuss-dwarfstd.org



      




More information about the Dwarf-discuss mailing list