You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Matt Massie (JIRA)" <ji...@apache.org> on 2010/02/17 02:58:27 UTC

[jira] Created: (AVRO-418) avro.h generates errors when included in C++ code

avro.h generates errors when included in C++ code
-------------------------------------------------

                 Key: AVRO-418
                 URL: https://issues.apache.org/jira/browse/AVRO-418
             Project: Avro
          Issue Type: Bug
          Components: c
            Reporter: Matt Massie


Eric Anderson reported that avro.h cannot be included in C++ code.  He provided a patch to workaround the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AVRO-418) avro.h generates errors when included in C++ code

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

Matt Massie updated AVRO-418:
-----------------------------

    Attachment: AVRO-418.patch

This patch can be used as a workaround for this problem.  We need someone better versed in C++ than myself to help design a correct solution to this problem.

> avro.h generates errors when included in C++ code
> -------------------------------------------------
>
>                 Key: AVRO-418
>                 URL: https://issues.apache.org/jira/browse/AVRO-418
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>            Reporter: Matt Massie
>            Assignee: Matt Massie
>         Attachments: AVRO-418.patch
>
>
> avro.h cannot be included in C++ code without errors

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AVRO-418) avro.h generates errors when included in C++ code

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

Matt Massie resolved AVRO-418.
------------------------------

    Resolution: Fixed

Thanks for the patch, Bruce.  Committed to trunk.

> avro.h generates errors when included in C++ code
> -------------------------------------------------
>
>                 Key: AVRO-418
>                 URL: https://issues.apache.org/jira/browse/AVRO-418
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>            Reporter: Matt Massie
>            Assignee: Bruce Mitchener
>         Attachments: AVRO-418.patch, avro_build_with_cpp.diff
>
>
> avro.h cannot be included in C++ code without errors

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AVRO-418) avro.h generates errors when included in C++ code

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

Matt Massie updated AVRO-418:
-----------------------------

    Attachment: avro.cpp.patch

Patch provided by Eric Andersen.  Thanks!

> avro.h generates errors when included in C++ code
> -------------------------------------------------
>
>                 Key: AVRO-418
>                 URL: https://issues.apache.org/jira/browse/AVRO-418
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>            Reporter: Matt Massie
>            Assignee: Matt Massie
>         Attachments: avro.cpp.patch
>
>
> Eric Anderson reported that avro.h cannot be included in C++ code.  He provided a patch to workaround the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AVRO-418) avro.h generates errors when included in C++ code

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

Bruce Mitchener updated AVRO-418:
---------------------------------

    Fix Version/s:     (was: 1.3.1)
                   1.3.2

> avro.h generates errors when included in C++ code
> -------------------------------------------------
>
>                 Key: AVRO-418
>                 URL: https://issues.apache.org/jira/browse/AVRO-418
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>            Reporter: Matt Massie
>            Assignee: Bruce Mitchener
>             Fix For: 1.3.2
>
>         Attachments: AVRO-418.patch, avro_build_with_cpp.diff
>
>
> avro.h cannot be included in C++ code without errors

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AVRO-418) avro.h generates errors when included in C++ code

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

Doug Cutting updated AVRO-418:
------------------------------

    Attachment:     (was: avro.cpp.patch)

> avro.h generates errors when included in C++ code
> -------------------------------------------------
>
>                 Key: AVRO-418
>                 URL: https://issues.apache.org/jira/browse/AVRO-418
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>            Reporter: Matt Massie
>            Assignee: Matt Massie
>
> Eric Anderson reported that avro.h cannot be included in C++ code.  He provided a patch to workaround the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AVRO-418) avro.h generates errors when included in C++ code

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

Bruce Mitchener updated AVRO-418:
---------------------------------

    Attachment: avro_build_with_cpp.diff

I think this is a better approach to addressing the problems ... it also includes a test program that will fail to compile if the other fixes aren't in place.  I tested the test under the CMake build but NOT under autotools.


> avro.h generates errors when included in C++ code
> -------------------------------------------------
>
>                 Key: AVRO-418
>                 URL: https://issues.apache.org/jira/browse/AVRO-418
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>            Reporter: Matt Massie
>            Assignee: Bruce Mitchener
>         Attachments: AVRO-418.patch, avro_build_with_cpp.diff
>
>
> avro.h cannot be included in C++ code without errors

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AVRO-418) avro.h generates errors when included in C++ code

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835984#action_12835984 ] 

Doug Cutting commented on AVRO-418:
-----------------------------------

Matt, what's the rationale for resolving this?  Isn't it still a valid issue?

> avro.h generates errors when included in C++ code
> -------------------------------------------------
>
>                 Key: AVRO-418
>                 URL: https://issues.apache.org/jira/browse/AVRO-418
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>            Reporter: Matt Massie
>            Assignee: Matt Massie
>         Attachments: avro.cpp.patch
>
>
> Eric Anderson reported that avro.h cannot be included in C++ code.  He provided a patch to workaround the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AVRO-418) avro.h generates errors when included in C++ code

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

Matt Massie resolved AVRO-418.
------------------------------

    Resolution: Later

> avro.h generates errors when included in C++ code
> -------------------------------------------------
>
>                 Key: AVRO-418
>                 URL: https://issues.apache.org/jira/browse/AVRO-418
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>            Reporter: Matt Massie
>            Assignee: Matt Massie
>         Attachments: avro.cpp.patch
>
>
> Eric Anderson reported that avro.h cannot be included in C++ code.  He provided a patch to workaround the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AVRO-418) avro.h generates errors when included in C++ code

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

Matt Massie updated AVRO-418:
-----------------------------

    Description: avro.h cannot be included in C++ code without errors  (was: Eric Anderson reported that avro.h cannot be included in C++ code.  He provided a patch to workaround the problem.)

> avro.h generates errors when included in C++ code
> -------------------------------------------------
>
>                 Key: AVRO-418
>                 URL: https://issues.apache.org/jira/browse/AVRO-418
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>            Reporter: Matt Massie
>            Assignee: Matt Massie
>
> avro.h cannot be included in C++ code without errors

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (AVRO-418) avro.h generates errors when included in C++ code

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

Bruce Mitchener reassigned AVRO-418:
------------------------------------

    Assignee: Bruce Mitchener  (was: Matt Massie)

> avro.h generates errors when included in C++ code
> -------------------------------------------------
>
>                 Key: AVRO-418
>                 URL: https://issues.apache.org/jira/browse/AVRO-418
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>            Reporter: Matt Massie
>            Assignee: Bruce Mitchener
>         Attachments: AVRO-418.patch
>
>
> avro.h cannot be included in C++ code without errors

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AVRO-418) avro.h generates errors when included in C++ code

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

Bruce Mitchener updated AVRO-418:
---------------------------------

    Fix Version/s: 1.3.1

> avro.h generates errors when included in C++ code
> -------------------------------------------------
>
>                 Key: AVRO-418
>                 URL: https://issues.apache.org/jira/browse/AVRO-418
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>            Reporter: Matt Massie
>            Assignee: Bruce Mitchener
>             Fix For: 1.3.1
>
>         Attachments: AVRO-418.patch, avro_build_with_cpp.diff
>
>
> avro.h cannot be included in C++ code without errors

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (AVRO-418) avro.h generates errors when included in C++ code

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

Matt Massie reopened AVRO-418:
------------------------------


Keeping this issue open since it's still an issue that needs to be addressed

> avro.h generates errors when included in C++ code
> -------------------------------------------------
>
>                 Key: AVRO-418
>                 URL: https://issues.apache.org/jira/browse/AVRO-418
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>            Reporter: Matt Massie
>            Assignee: Matt Massie
>
> Eric Anderson reported that avro.h cannot be included in C++ code.  He provided a patch to workaround the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AVRO-418) avro.h generates errors when included in C++ code

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

Matt Massie updated AVRO-418:
-----------------------------

    Assignee: Matt Massie

> avro.h generates errors when included in C++ code
> -------------------------------------------------
>
>                 Key: AVRO-418
>                 URL: https://issues.apache.org/jira/browse/AVRO-418
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>            Reporter: Matt Massie
>            Assignee: Matt Massie
>
> Eric Anderson reported that avro.h cannot be included in C++ code.  He provided a patch to workaround the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.