Closed
Issue #14
· created by
·
Thrift upgrade 0.9.3-1 breaks compilation
Running Arch Linux, thrift update 2 weeks ago broke purple-line
make -C libpurple
make[1]: Entering directory '/tmp/pkgbuild-0/purple-line-git/src/purple-line/libpurple'
mkdir -p thrift_line
thrift --gen cpp -out thrift_line line.thrift
[ERROR:/tmp/pkgbuild-0/purple-line-git/src/purple-line/libpurple/line.thrift:201] (last token was 'from')
Cannot use reserved language keyword: "from"
make[1]: *** No rule to make target 'thrift_line/TalkService.cpp', needed by 'thrift_line/line_constants.cpp'. Stop.
make[1]: Leaving directory '/tmp/pkgbuild-0/purple-line-git/src/purple-line/libpurple'
Makefile:2: recipe for target 'all' failed
make: *** [all] Error 2
== ERROR: A failure occurred in build().
Aborting...
-
Welp, it seems the Thrift people solved an unrelated problem I had been complaining about (generating invalid code by using keywords as names in some languages) by making the keywords in all supported languages invalid. "from" is reserved in Python, which has nothing to do with C++.
I'll change the name to something else soon.
-
Status changed to closed by commit 86d3ba75a68aff0871950904ec5dea22c33e6065
-
awesome! Working again :) Thanks!