Sven Panne wrote:
When GHC/PrimopWrappers.hs is compiled, there are a few warnings:

-----------------------------------------------------------------------------
../../compiler/ghc-inplace -H16m -O -fglasgow-exts -cpp -Iinclude -"#include" HsBase.h -funbox-strict-fields -package-name base-2.0 -O -Rghc-timing -fgenerics -fgenerics -split-objs -c GHC/PrimopWrappers.hs -o GHC/PrimopWrappers.o -ohi GHC/PrimopWrappers.hi /tmp/ghc12116_0/ghc12116_0.hc: In function ‘base_GHCziPrimopWrappers_reallyUnsafePtrEqualityzh_entry’:

/tmp/ghc12116_0/ghc12116_0.hc:125:0:
     warning: cast to pointer from integer of different size
/tmp/ghc12116_0/ghc12116_0.hc: In function ‘base_GHCziPrimopWrappers_eqStableNamezh_entry’:

/tmp/ghc12116_0/ghc12116_0.hc:157:0:
     warning: cast to pointer from integer of different size
/tmp/ghc12116_0/ghc12116_0.hc: In function ‘base_GHCziPrimopWrappers_eqStablePtrzh_entry’:

/tmp/ghc12116_0/ghc12116_0.hc:189:0:
     warning: cast to pointer from integer of different size
-----------------------------------------------------------------------------

These are caused by the code generated by CgPrimOps.hs for a few primops. Are these harmless? Can they be fixed?

I've fixed these.  I suspect they were probably harmless.

Cheers,
        Simon
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to