Re: [gtk-list] Re: compilation warnings on DEC alpha platform



> It would be interesting to see if this does anything to remove
> the problems you are reporting. I wouldn't have expected GCC to
> generate different code, but if it does, I can just possibly 
> imagine how it would produce arithmetic traps. I can't see
> how it could create unaligned accesses. 

I think it does do different code ... when it stores an int into a
void* .... I don't think it will convert it to long first ... it
shouldn't acuse arithmetic traps ... and probably not even unaligned
accesses ... but it's just a guess .... I don't think gcc thinks of
void* as a data storage so it will just write to it's location ...
(but it's completely just a gues and I'm probably wrong) ... so then
casting to long should solve it then ...

> If you can produce the arithmetic traps and unaligned accesses
> with the testgtk program in GTK+ (gtk/testgtk) I would be quite
> interested in details in where they are occuring. (Backtraces
> would be useful)

I can't produce them ... I run linux/alpha 2.1.85 ... 

George

-- 
------------------------------------------------------------------------------
George Lebl <jirka@5z.com> http://www.5z.com/jirka/
------------------------------------------------------------------------------
  The following implements RSA in perl and is illegal to export from the US:

          #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
          $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
          lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)



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