This is an automated email from the ASF dual-hosted git repository.

jensg pushed a commit to branch 0.14.0
in repository https://gitbox.apache.org/repos/asf/thrift.git


The following commit(s) were added to refs/heads/0.14.0 by this push:
     new 2c0f932  THRIFT-5347 Deprecate Haskell bindings Client: hs Patch: Jens 
Geyer
2c0f932 is described below

commit 2c0f932301231c8d9996dc21c183c586e0a80d08
Author: Jens Geyer <[email protected]>
AuthorDate: Sat Feb 13 15:05:28 2021 +0100

    THRIFT-5347 Deprecate Haskell bindings
    Client: hs
    Patch: Jens Geyer
---
 compiler/cpp/src/thrift/generate/t_generator.cc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/compiler/cpp/src/thrift/generate/t_generator.cc 
b/compiler/cpp/src/thrift/generate/t_generator.cc
index 3059fb1..d87af89 100644
--- a/compiler/cpp/src/thrift/generate/t_generator.cc
+++ b/compiler/cpp/src/thrift/generate/t_generator.cc
@@ -240,6 +240,9 @@ t_generator* t_generator_registry::get_generator(t_program* 
program,
   else if (language == "as3") {
     pwarning(1, "The '%s' target is deprecated and will be removed in future 
Thrift versions.", language.c_str());
   }
+  else if (language == "hs") {
+    pwarning(1, "The '%s' target is deprecated and will be removed in future 
Thrift versions.", language.c_str());
+  }
 
   if (iter == the_map.end()) {
     return nullptr;

Reply via email to