Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.9.2
-
None
-
OS X Yosemite
Description
I am trying to update the homebrew recipe for OS X to build Thrift 0.9.2. The current 0.9.1 formula includes many patches in order to get it building.
Currently the only error left is in compiling processor/ProcessorTest.cpp
processor/ProcessorTest.cpp:26:10: fatal error: 'tr1/functional' file not found
#include <tr1/functional>
^
1 error generated.
make[4]: *** [processor/ProcessorTest.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
This file seems to have been added in THRIFT-1336 and is the only file I see that still tries to include tr1/functional directly. Ignoring this error produces a workable thrift 0.9.2 package without any custom patches.
Homebrew issue I'm working on is here: https://github.com/Homebrew/homebrew/issues/34194
Is this as simple as swapping out the include for thrift/cxxfunctional.h ? Or am I missing something.