On Wed, 3 Feb 1999, Bob McElrath wrote:
> Hmmm...likely an alpha-specific problem then. I'm using egcs 1.1.1 on an
> alpha LX164, 533MHz (compiled lyx myself...not from RPM or deb). Know of
> anywhere in your math code <off the top of your head> that you assume
> sizeof(long) == sizeof(int) == sizeof(void*)? Because it isn't on
> alpha...longs and pointers are 64 bit.
The problem is after retriving an inset from the array:
MathedInset* px = GetInset();
In GetInset we do:
MathedInset* p;
memcpy(&p, &array->bf[pos+1], sizeof(p));
and in the function to insert insets we do (same type of p) :
memcpy(&array->bf[pos+1], &p, sizeof(p));
so it's consistent, hmm.. have you used LyX in your platform without these
problems before?
Alejandro