RTS warnings

Gabor Greif ggreif at gmail.com
Wed Nov 27 22:15:29 UTC 2013


Hi all!

I spottes these warnings in today's

   $ make INTEGER_LIBRARY=integer-simple V=0

build:

rts/Stats.c: In function 'stat_exit':

rts/Stats.c:695:0:
     warning: format '%16zu' expects type 'size_t', but argument 2 has
type 'unsigned int'

rts/sm/Storage.c: In function 'flushExec':

rts/sm/Storage.c:1294:0:
     warning: implicit declaration of function '__builtin___clear_cache'

rts/sm/Storage.c:1294:0:
     warning: nested extern declaration of '__builtin___clear_cache'


this is my "GCC":

ggreif$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc.
build 5658) (LLVM build 2336.11.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Cheers,

    Gabor

PS: there is also this low-hanging fruit:

libraries/containers/Data/IntSet/Base.hs:1196:17: Warning:
    In the use of 'bitSize' (imported from Data.Bits):
    Deprecated: "Use bitSizeMaybe or finiteBitSize instead"


More information about the ghc-devs mailing list