Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
16fcad0
)
THRIFT-2386: Thrift refuses to link yylex
author
jfarrell
<jfarrell@apache.org>
Wed, 19 Mar 2014 13:50:10 +0000
(09:50 -0400)
committer
jfarrell
<jfarrell@apache.org>
Wed, 19 Mar 2014 13:50:10 +0000
(09:50 -0400)
Client: compiler
Patch: Milan Freml
Fixes undefined reference to `yylex' due to upstream changes.
compiler/cpp/src/main.h
patch
|
blob
|
history
diff --git
a/compiler/cpp/src/main.h
b/compiler/cpp/src/main.h
index
f737e3f
..
9b0f3f3
100644
(file)
--- 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);