[jira] [Commented] (AVRO-1135) Avro C++ fails to build on Mac
[ https://issues.apache.org/jira/browse/AVRO-1135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437702#comment-13437702 ] Thiruvalluvan M. G. commented on AVRO-1135: --- Verified that this patch works on Windows and Cygwin > Avro C++ fails to build on Mac > -- > > Key: AVRO-1135 > URL: https://issues.apache.org/jira/browse/AVRO-1135 > Project: Avro > Issue Type: Bug > Components: c++ >Affects Versions: 1.7.1 >Reporter: Thiruvalluvan M. G. >Assignee: Thiruvalluvan M. G. > Fix For: 1.7.2 > > Attachments: AVRO-1135.patch > > > The file unittest.cc fails to compile because the compiler gets confused > about the overloaded function readFixed in Parser class. There are two > overloaded functions with the name readFixed, both templates taking size_t as > template arguments. When the template argument is passed explicitly, the Mac > compiler is not able to resolve the overload. The forthcoming patch addresses > that issue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AVRO-1135) Avro C++ fails to build on Mac
[ https://issues.apache.org/jira/browse/AVRO-1135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428794#comment-13428794 ] Thiruvalluvan M. G. commented on AVRO-1135: --- I need to check if this patch breaks anything in other platforms, which have been working so far - Windows, Cygwin and Linux. > Avro C++ fails to build on Mac > -- > > Key: AVRO-1135 > URL: https://issues.apache.org/jira/browse/AVRO-1135 > Project: Avro > Issue Type: Bug > Components: c++ >Affects Versions: 1.7.1 >Reporter: Thiruvalluvan M. G. >Assignee: Thiruvalluvan M. G. > Fix For: 1.7.2 > > Attachments: AVRO-1135.patch > > > The file unittest.cc fails to compile because the compiler gets confused > about the overloaded function readFixed in Parser class. There are two > overloaded functions with the name readFixed, both templates taking size_t as > template arguments. When the template argument is passed explicitly, the Mac > compiler is not able to resolve the overload. The forthcoming patch addresses > that issue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira