[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What's wrong with bluefish?



On Tue, 13 Jul 1999, Barak Pearlmutter wrote:

> According to the C standard, a (char *) can always be cast to a (long int)
> and back without corruption, but not always to an (int).  With gcc an
> (int) is the same size as a (long int) on the i386, but not on the
> Alpha, which is what is causing problems here.
> 
> To fix it, just redefine the structure slot called "Item 4" below as a
> (long int) rather just a plain (int).  Naturally the change won't make
> any difference at all on an i386...

Chris fixed it.  I just compiled and ran Bluefish on my Alpha with zero
problems.

C


Reply to: