lkml.org 
[lkml]   [1999]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux/IA-64 byte order
On Tue, Mar 09, 1999 at 12:22:10PM +0100, Gabriel Paubert wrote:
> BTW: casting of integer pointers in C is a nop AFAICT, simply the size
> of the data accessed by the pointer is changed.

that's probably true, but I think it would be nice to be able to
assume that if longptr points to a location containing 1L, then
* (short int *) longptr == 1.

This doesnt work on sparc etc. Again mostly binary compatibility issues are
there between programs which took pointers to fields which later got extended.
All of them _have_ to be recompiled. On little endian, you can get away with
not doing so.

-- arvind

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.060 / U:34.620 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site