Validate violation of the day (on Mac OS X)

Manuel M T Chakravarty chak at cse.unsw.edu.au
Thu May 28 21:12:11 EDT 2009


> inplace/bin/ghc-stage1  -H32m -O -Wall -Werror -H64m -O0 -fasm    - 
> package-name base-4.1.0.0 -hide-all-packages -i -ilibraries/base/. - 
> ilibraries/base/dist-install/build -ilibraries/base/dist-install/ 
> build/autogen -Ilibraries/base/dist-install/build -Ilibraries/base/ 
> dist-install/build/autogen -Ilibraries/base/include   -optP-include - 
> optPlibraries/base/dist-install/build/autogen/cabal_macros.h - 
> package ghc-prim-0.1.0.0 -package integer-0.1.0.0 -package rts-1.0  - 
> package-name base -XMagicHash -XExistentialQuantification - 
> XRank2Types -XScopedTypeVariables -XUnboxedTuples - 
> XForeignFunctionInterface -XUnliftedFFITypes -XDeriveDataTypeable - 
> XGeneralizedNewtypeDeriving -XFlexibleInstances -XStandaloneDeriving  
> -XPatternGuards -XEmptyDataDecls -XNoImplicitPrelude -XCPP -O2 - 
> XGenerics -O -fasm -dcore-lint -fno-warn-deprecated-flags    -odir  
> libraries/base/dist-install/build -hidir libraries/base/dist-install/ 
> build -stubdir libraries/base/dist-install/build -hisuf hi -osuf  o - 
> hcsuf hc -c libraries/base/./GHC/Float.lhs -o libraries/base/dist- 
> install/build/GHC/Float.o
>
> libraries/base/GHC/Float.lhs:628:18:
>     Warning: Defaulting the following constraint(s) to type `Double'
>              `Floating a'
>                arising from a use of `log'
>                             at libraries/base/GHC/Float.lhs:628:18-40
>              `RealFrac a'
>                arising from a use of `ceiling'
>                             at libraries/base/GHC/Float.lhs:(628,8)- 
> (630,41)
>     In the first argument of `(+)', namely `log (fromInteger (f + 1))'
>     In the first argument of `(/)', namely
>         `(log (fromInteger (f + 1))
>         +   fromIntegral e * log (fromInteger b))'
>     In the first argument of `ceiling', namely
>         `((log (fromInteger (f + 1))
>          +   fromIntegral e * log (fromInteger b))
>         / log (fromInteger base))'
>
> <no location info>:
> Failing due to -Werror.
>
> make[1]: *** [libraries/base/dist-install/build/GHC/Float.o] Error



More information about the Cvs-ghc mailing list