You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "alexandre parenteau (JIRA)" <ji...@apache.org> on 2011/09/23 20:24:26 UTC

[jira] [Created] (THRIFT-1359) --gen-cob cpp:cob_style does not compile anymore

--gen-cob cpp:cob_style does not compile anymore
------------------------------------------------

                 Key: THRIFT-1359
                 URL: https://issues.apache.org/jira/browse/THRIFT-1359
             Project: Thrift
          Issue Type: Bug
          Components: C++ - Compiler, C++ - Library
    Affects Versions: 0.8
         Environment: Linux/Windows
            Reporter: alexandre parenteau
             Fix For: 0.8


A recent change introduced the concept of "getProcessor" (TProcessor). This code does not take into account when generating cob style C++ (TAsyncProcessor).

TAsyncProcessor and TProcessor are unrelated, therefore it generates a compilation problem when trying to pass smart pointers around.

The included patch tries to address this, and was tested on Linux/Windows.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (THRIFT-1359) --gen-cob cpp:cob_style does not compile anymore

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

Roger Meier resolved THRIFT-1359.
---------------------------------

    Resolution: Fixed
      Assignee: alexandre parenteau

Thanks!
committed.

> --gen-cob cpp:cob_style does not compile anymore
> ------------------------------------------------
>
>                 Key: THRIFT-1359
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1359
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler, C++ - Library
>    Affects Versions: 0.8
>         Environment: Linux/Windows
>            Reporter: alexandre parenteau
>            Assignee: alexandre parenteau
>              Labels: patch
>             Fix For: 0.8
>
>         Attachments: THRIFT-1359.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> A recent change introduced the concept of "getProcessor" (TProcessor). This code does not take into account when generating cob style C++ (TAsyncProcessor).
> TAsyncProcessor and TProcessor are unrelated, therefore it generates a compilation problem when trying to pass smart pointers around.
> The included patch tries to address this, and was tested on Linux/Windows.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (THRIFT-1359) --gen-cob cpp:cob_style does not compile anymore

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

alexandre parenteau updated THRIFT-1359:
----------------------------------------

    Attachment: THRIFT-1359.patch

Patch to fix compilation problem with cob style C++ (current trunk)

> --gen-cob cpp:cob_style does not compile anymore
> ------------------------------------------------
>
>                 Key: THRIFT-1359
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1359
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler, C++ - Library
>    Affects Versions: 0.8
>         Environment: Linux/Windows
>            Reporter: alexandre parenteau
>              Labels: patch
>             Fix For: 0.8
>
>         Attachments: THRIFT-1359.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> A recent change introduced the concept of "getProcessor" (TProcessor). This code does not take into account when generating cob style C++ (TAsyncProcessor).
> TAsyncProcessor and TProcessor are unrelated, therefore it generates a compilation problem when trying to pass smart pointers around.
> The included patch tries to address this, and was tested on Linux/Windows.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (THRIFT-1359) --gen-cob cpp:cob_style does not compile anymore

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114180#comment-13114180 ] 

Hudson commented on THRIFT-1359:
--------------------------------

Integrated in Thrift #277 (See [https://builds.apache.org/job/Thrift/277/])
    THRIFT-1359 --gen-cob cpp:cob_style does not compile anymore
Patch: Alexandre Parenteau

roger : http://svn.apache.org/viewvc/?view=rev&rev=1175308
Files : 
* /thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc
* /thrift/trunk/lib/cpp/src/async/TAsyncProcessor.h


> --gen-cob cpp:cob_style does not compile anymore
> ------------------------------------------------
>
>                 Key: THRIFT-1359
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1359
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler, C++ - Library
>    Affects Versions: 0.8
>         Environment: Linux/Windows
>            Reporter: alexandre parenteau
>            Assignee: alexandre parenteau
>              Labels: patch
>             Fix For: 0.8
>
>         Attachments: THRIFT-1359.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> A recent change introduced the concept of "getProcessor" (TProcessor). This code does not take into account when generating cob style C++ (TAsyncProcessor).
> TAsyncProcessor and TProcessor are unrelated, therefore it generates a compilation problem when trying to pass smart pointers around.
> The included patch tries to address this, and was tested on Linux/Windows.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira