[Haskell-cafe] workarounds for Codec.Compression.Zlib errors in
darcs
Ketil Malde
ketil at malde.org
Thu Nov 27 03:44:03 EST 2008
"Jason Dagit" <dagit at codersbase.com> writes:
> That is, if you use the optional specification of a header file for each
> foreign import, and if your Haskell compiler can compile via C, then any
> checking that types match between Haskell and C can be performed
> automatically, by the backend C compiler.
> Would this method work with return types since C compilers tend to let you
> ignore those? In this example that brought up this discussion it was in fact
> an ignored return value that caused the problem.
I've tried to look at GCC's warning options, but couldn't make it
emit a warning on an ignored result. (Doesn't mean it isn't in there,
of course)
-k
--
If I haven't seen further, it is by standing in the footprints of giants
More information about the Haskell-Cafe
mailing list