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? Cheers, S.