logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: General gcc4.0 porting guide: msg#00882

Subject: Re: General gcc4.0 porting guide
On Fri, Apr 29, 2005 at 02:25:27PM +0200, Hans de Goede wrote:
> Miloslav Trmac wrote:
> >foo = (short int *)(foo + 1);
> Wrong (again) people please don't try to help unless you know how 
> pointer arithmetic works in C.
Ooops...
People please don't assume ignorance when it can be explained by
lack of attention :)

Let me use this space to point out that the code is not portable;
accessing unaligned pointers can be a fatal error on some
architectures.
        Mirek




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>