Author: bryanduxbury
Date: Mon Sep 20 17:41:40 2010
New Revision: 999019
URL: http://svn.apache.org/viewvc?rev=999019&view=rev
Log:
THRIFT-901. hs: Allow the bindings to compile without -fglasgow-exts and with
-Wall -Werror
Forgot a small chunk of the previous patch.
Patch: Christian Lavoie
Modified:
incubator/thrift/trunk/compiler/cpp/src/generate/t_hs_generator.cc
Modified: incubator/thrift/trunk/compiler/cpp/src/generate/t_hs_generator.cc
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/compiler/cpp/src/generate/t_hs_generator.cc?rev=999019&r1=999018&r2=999019&view=diff
==============================================================================
--- incubator/thrift/trunk/compiler/cpp/src/generate/t_hs_generator.cc
(original)
+++ incubator/thrift/trunk/compiler/cpp/src/generate/t_hs_generator.cc Mon Sep
20 17:41:40 2010
@@ -574,7 +574,7 @@ void t_hs_generator::generate_hs_struct_
// read
indent(out) << "read_"<<sname<<" iprot = do" << endl;
indent_up();
- indent(out) << "readStructBegin iprot" << endl;
+ indent(out) << "_ <- readStructBegin iprot" << endl;
indent(out) << "rec <- read_"<<sname<<"_fields iprot ("<<sname<<"{";
bool first = true;
for (f_iter = fields.begin(); f_iter != fields.end(); ++f_iter) {