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)