You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Konrad Grochowski (JIRA)" <ji...@apache.org> on 2014/09/01 20:39:20 UTC
[jira] [Created] (THRIFT-2688) Generating *Null implementations
should be optional
Konrad Grochowski created THRIFT-2688:
-----------------------------------------
Summary: Generating *Null implementations should be optional
Key: THRIFT-2688
URL: https://issues.apache.org/jira/browse/THRIFT-2688
Project: Thrift
Issue Type: Improvement
Components: C++ - Compiler
Reporter: Konrad Grochowski
*Null implmentations introduce another level of ugly diamond shaped inheritance (with extended ifaces), which - among other things - leads to a lot of warnings on MSVC ("inheritance via dominance" C4250).
Additionallly it just clobbers generated header as when stubs are needed GoogleMock/Turtle could/should be used.
But I do understand requirement for backward compatibility, so in attached patch I've added option to ommit nulls generation, so still by default they'll be generated
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)