-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build errors with gcc 4.5.2 and thrift 0.6.0 #19
Comments
Is it not more bug/feature of thrift ( variadic-macros used in C++, not sure about rest) ? |
I guess you're right but I believe thrift compiled without these warnings or errors, which means some compilation switch is on for libcassandra. I may have missed them, though, as I have scripts that do this and I don't always follow the build process. I do believe libcassandra is the one that needs changing, but I'm not sure. At least I wrote this somewhere so that people can find the workaround if they encounter the same issues. |
I'm having the same problems on GCC 4.6.The new thrift can't compile (use) the old files. While i can compile by disabling errors I get an undefined symbol _ZTVN6apache6thrift9transport16TFramedTransportE (vtable for apache::thrift::transport::TFramedTransport) when using the lib. I presume the project is missing the original .thrift file(s) and that all the libgenthrift files are outdate and a regeneration is required. Ideias welcomed. |
I have the same problem on Ubuntu 11.04 with GCC 4.5. |
When building libcassandra with gcc 4.5.2 (which comes with Ubuntu 11.04) and libthrift 0.6.0 the following errors occur:
As a workaround to avoid these errors I set CXXFLAGS to run ./configure as follows:
But this is just a dangerous hack that ignores compile time warnings. I'm not sure what the right way to handle these is.
The text was updated successfully, but these errors were encountered: