You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jf...@apache.org on 2014/03/19 14:54:42 UTC

git commit: THRIFT-2386: Thrift refuses to link yylex Client: compiler Patch: Milan Freml

Repository: thrift
Updated Branches:
  refs/heads/master 16fcad0b2 -> ec8daae71


THRIFT-2386: Thrift refuses to link yylex
Client: compiler
Patch: Milan Freml

Fixes undefined reference to `yylex' due to upstream changes.


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/ec8daae7
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/ec8daae7
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/ec8daae7

Branch: refs/heads/master
Commit: ec8daae71004b3c2346bf12b2d74e52ed0815337
Parents: 16fcad0
Author: jfarrell <jf...@apache.org>
Authored: Wed Mar 19 09:50:10 2014 -0400
Committer: jfarrell <jf...@apache.org>
Committed: Wed Mar 19 09:50:10 2014 -0400

----------------------------------------------------------------------
 compiler/cpp/src/main.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/ec8daae7/compiler/cpp/src/main.h
----------------------------------------------------------------------
diff --git a/compiler/cpp/src/main.h b/compiler/cpp/src/main.h
index f737e3f..9b0f3f3 100644
--- a/compiler/cpp/src/main.h
+++ b/compiler/cpp/src/main.h
@@ -29,7 +29,9 @@
  * Defined in the flex library
  */
 
-int yylex(void);
+extern "C" {
+  int yylex(void);
+}
 
 int yyparse(void);