THRIFT-901. hs: Allow the bindings to compile without -fglasgow-exts and with -Wall...
authorBryan Duxbury <bryanduxbury@apache.org>
Mon, 20 Sep 2010 15:21:37 +0000 (15:21 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Mon, 20 Sep 2010 15:21:37 +0000 (15:21 +0000)
commite59a80fbf9d3be9eab5353355718fbd495fad0f1
tree5e53ce8b7cef50693c92c7eb698fb2349366de41
parentfd32d79afa6a728b6dc320c5e0eda108b0622f98
THRIFT-901. hs: Allow the bindings to compile without -fglasgow-exts and with -Wall -Werror

This patch makes the bindings compile with pedantic warning levels, and individually declares each required language extension.

Patch: Christian Lavoie

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@998955 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_hs_generator.cc
lib/hs/src/Thrift.hs
lib/hs/src/Thrift/Protocol.hs
lib/hs/src/Thrift/Protocol/Binary.hs
lib/hs/src/Thrift/Server.hs
lib/hs/src/Thrift/Transport.hs
lib/hs/src/Thrift/Transport/Handle.hs
lib/hs/src/Thrift/Transport/HttpClient.hs