[sldev] [VWR] OpenJPEG backtraces

Anders Arnholm Anders at Arnholm.se
Sun Sep 23 08:19:41 PDT 2007


On Sun, 2007-09-23 at 08:36 -0500, Argent Stonecutter wrote:

> 1. ptrdiff_t is a derived type.

And how often in real programing is this a problem?

> 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.

Yes, but pointers, are held by the pointer variable there is no other
portable solution. long long is not guaranteed either to be able to hold
pointer. But it think this comes a away from the original problem.



-- 
Anders Arnholm <Anders at Arnholm.se>


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the SLDev mailing list