[sldev] [VWR] OpenJPEG backtraces
Argent Stonecutter
secret.argent at gmail.com
Sun Sep 23 06:36:04 PDT 2007
On 23-Sep-2007, at 02:07, Anders Arnholm wrote:
> No good programmer in the world breaks ANSI C, with out really good
> reasoning behind it.
That's why you need a diagnostic.
That's not the same as forcing a cast that makes the code less portable.
> long long isn't really that type, ptrdiff_t is a much better choose.
1. ptrdiff_t is a derived type.
2. ptrdiff_t is not guaranteed to be large enough to hold a pointer,
only to hold the difference between two pointers to the same object.
In a segmented architecture that's not necessarily large enough to
hold a pointer, and the same is true for size_t.
More information about the SLDev
mailing list