[ https://issues.apache.org/jira/browse/THRIFT-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13072977#comment-13072977 ]
Hudson commented on THRIFT-1244: -------------------------------- Integrated in Thrift #195 (See [https://builds.apache.org/job/Thrift/195/]) THRIFT-1244 using 'using' to disambiguate between functions in different bases does not conform to C++ standard and will not compile on certain compilers Patch: Anatoly Fayngelerin roger : http://svn.apache.org/viewvc/?view=rev&rev=1151945 Files : * /thrift/trunk/lib/cpp/src/transport/TBufferTransports.h > using 'using' to disambiguate between functions in different bases does not > conform to C++ standard and will not compile on certain compilers > --------------------------------------------------------------------------------------------------------------------------------------------- > > Key: THRIFT-1244 > URL: https://issues.apache.org/jira/browse/THRIFT-1244 > Project: Thrift > Issue Type: Bug > Components: C++ - Library > Affects Versions: 0.6 > Reporter: Anatoly Fayngelerin > Assignee: Anatoly Fayngelerin > Priority: Minor > Fix For: 0.7 > > Attachments: > 0_7_0_dev_remove_ambiguous_using_tbufferedtransports.patch, > 0_7_0_dev_remove_ambiguous_using_tbufferedtransports.patch > > > Currently in transport/TBufferTransports.h three classes have code of the form > bq.using TBufferBase::readAll; > This code is attempting to disambiguate between the readAll function provided > by TBufferBase and TVirtualTransport < T, TBufferBase >. This compile and > works under GCC. However, this does not conform to the C++ standard. Other > compilers(such as Comeau) will report compilation errors because of this > code. Here is a related bug filed with gcc: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32039 > I am attaching a patch that explicitly declares readAll and implements it by > calling TBufferBase::readAll. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira