RTS warnings

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

RTS warnings

Gabor Greif-2
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"

Reply | Threaded
Open this post in threaded view
|

RTS warnings

Herbert Valerio Riedel-3
On 2013-11-27 at 23:15:29 +0100, Gabor Greif wrote:

[...]

> 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"

fyi,

https://github.com/haskell/containers/commit/501fa5b32c