You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org> on 2012/08/05 05:18:02 UTC

[jira] [Created] (AVRO-1135) Avro C++ fails to build on Mac

Thiruvalluvan M. G. created AVRO-1135:
-----------------------------------------

             Summary: 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++
            Reporter: Thiruvalluvan M. G.
            Assignee: Thiruvalluvan M. G.


The file unittest.cc fails to compile because the compiler gets confused about the overloaded function readFixed<N> 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] [Updated] (AVRO-1135) Avro C++ fails to build on Mac

Posted by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-1135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiruvalluvan M. G. updated AVRO-1135:
--------------------------------------

    Attachment: AVRO-1135.patch
    
> 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<N> 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

Posted by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org>.
    [ 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<N> 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] [Updated] (AVRO-1135) Avro C++ fails to build on Mac

Posted by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-1135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiruvalluvan M. G. updated AVRO-1135:
--------------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed revision 1374935.
                
> 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<N> 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] [Updated] (AVRO-1135) Avro C++ fails to build on Mac

Posted by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-1135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiruvalluvan M. G. updated AVRO-1135:
--------------------------------------

        Fix Version/s: 1.7.2
    Affects Version/s: 1.7.1
               Status: Patch Available  (was: Open)
    
> 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<N> 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

Posted by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org>.
    [ 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<N> 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