Dear Wiki user, You have subscribed to a wiki page or wiki category on "Thrift Wiki" for change notification.
The "FAQ" page has been changed by ToddLipcon. http://wiki.apache.org/thrift/FAQ?action=diff&rev1=11&rev2=12 -------------------------------------------------- + === Build Issues === + + ===== What's this error about yywrap? ===== + If you get an error like this when building the generator: + + {{{ + compiler/cpp/thriftl.cc:2190: undefined reference to `yywrap' + }}} + + you need to install Bison and Flex (e.g {{{apt-get install bison flex}}} on Debian/Ubuntu systems). See ThriftRequirements + ===== What's this about MONO? ===== If you get an error like this when running configure: {{{ @@ -14, +25 @@ ===== Why can't I build on Fedora Core 9? ===== If you get an error about PATH_MAX not being declared, please make sure you are building from the latest SVN. We've fixed some issues with GCC 4.3 and FC9 in particular since the last release. + == Thrift Features == + ===== Is struct inheritance supported? ===== No, it isn't. Thrift support inheritance of service interfaces, but only composition/containment for structures. ===== Can I overload service methods? ===== Nope. Method names must be unique. + == Using Thrift as a developer == + ===== I'm throwing a TException in my server, why is the client complaining? ===== Think of TExceptions as [[http://issues.apache.org/jira/browse/THRIFT-517|"unexpected"]] exceptions for your Thrift server. They are uncaught (not unchecked!) exceptions that rise to your server's main loop and terminate the current Thrift call. If your application uses exceptions, you must create exceptions in your IDL. See the [[http://wiki.apache.org/thrift/Tutorial|Tutorial]] for instructions on create exceptions.
