On 07/29/2011 09:42 AM, Roger Meier wrote:
What are the error messages when you build the library?
I recommend using the following flags, as mentioned at
https://issues.apache.org/jira/browse/THRIFT-916
sh bootstrap.sh
export CFLAGS='-Wall -Wextra -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overflow'
export CPPFLAGS='-Wall -Wextra -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overflow'
export CXXFLAGS='-Wall -Wextra -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overflow'
sh configure --without-csharp --without-java --without-erlang
--without-python --without-perl --without-php --without-php_extension
--without-ruby --without-haskell
make
-Roger
Hi,
I don't get errors when building the library, only when building C++
client code.
Actually, i think this is a bug in the version of gcc i am using. I
filled a bug for gcc with a simple test case to reproduce it:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49896
--
Matthieu