You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Martin Vogt (JIRA)" <ji...@apache.org> on 2012/10/13 13:03:03 UTC

[jira] [Created] (THRIFT-1731) error: expected identifier before ‘;’ token

Martin Vogt created THRIFT-1731:
-----------------------------------

             Summary: error: expected identifier before ‘;’ token
                 Key: THRIFT-1731
                 URL: https://issues.apache.org/jira/browse/THRIFT-1731
             Project: Thrift
          Issue Type: Bug
          Components: C++ - Compiler
    Affects Versions: 0.9
            Reporter: Martin Vogt
            Priority: Trivial


If the .thrift file contains no namespace the cpp generator
creates a:

using namespace ;

line. This does not compile.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (THRIFT-1731) error: expected identifier before ‘;’ token

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

Roger Meier resolved THRIFT-1731.
---------------------------------

    Resolution: Fixed
      Assignee: Roger Meier

committed
                
> error: expected identifier before ‘;’ token
> -------------------------------------------
>
>                 Key: THRIFT-1731
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1731
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler
>    Affects Versions: 0.9
>            Reporter: Martin Vogt
>            Assignee: Roger Meier
>            Priority: Trivial
>              Labels: empty, namespaces
>         Attachments: ns2.patch
>
>
> If the .thrift file contains no namespace the cpp generator
> creates a:
> using namespace ;
> line. This does not compile.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (THRIFT-1731) error: expected identifier before ‘;’ token

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

Martin Vogt updated THRIFT-1731:
--------------------------------

    Attachment:     (was: ns.patch)
    
> error: expected identifier before ‘;’ token
> -------------------------------------------
>
>                 Key: THRIFT-1731
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1731
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler
>    Affects Versions: 0.9
>            Reporter: Martin Vogt
>            Priority: Trivial
>              Labels: empty, namespaces
>
> If the .thrift file contains no namespace the cpp generator
> creates a:
> using namespace ;
> line. This does not compile.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (THRIFT-1731) error: expected identifier before ‘;’ token

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

Hudson commented on THRIFT-1731:
--------------------------------

Integrated in Thrift #569 (See [https://builds.apache.org/job/Thrift/569/])
    THRIFT-1731 error: expected identifier before ';' token
Patch: Martin Vogt (Revision 1400518)

     Result = ABORTED
roger : http://svn.apache.org/viewvc/?view=rev&rev=1400518
Files : 
* /thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc

                
> error: expected identifier before ‘;’ token
> -------------------------------------------
>
>                 Key: THRIFT-1731
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1731
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler
>    Affects Versions: 0.9
>            Reporter: Martin Vogt
>            Assignee: Roger Meier
>            Priority: Trivial
>              Labels: empty, namespaces
>         Attachments: ns2.patch
>
>
> If the .thrift file contains no namespace the cpp generator
> creates a:
> using namespace ;
> line. This does not compile.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (THRIFT-1731) error: expected identifier before ‘;’ token

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

Martin Vogt updated THRIFT-1731:
--------------------------------

    Attachment: ns2.patch

enhance the empty check+ correct patch.
                
> error: expected identifier before ‘;’ token
> -------------------------------------------
>
>                 Key: THRIFT-1731
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1731
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler
>    Affects Versions: 0.9
>            Reporter: Martin Vogt
>            Priority: Trivial
>              Labels: empty, namespaces
>         Attachments: ns2.patch
>
>
> If the .thrift file contains no namespace the cpp generator
> creates a:
> using namespace ;
> line. This does not compile.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (THRIFT-1731) error: expected identifier before ‘;’ token

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

Martin Vogt updated THRIFT-1731:
--------------------------------

    Attachment: ns.patch

enhance the empty ns check.
                
> error: expected identifier before ‘;’ token
> -------------------------------------------
>
>                 Key: THRIFT-1731
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1731
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler
>    Affects Versions: 0.9
>            Reporter: Martin Vogt
>            Priority: Trivial
>              Labels: empty, namespaces
>         Attachments: ns.patch
>
>
> If the .thrift file contains no namespace the cpp generator
> creates a:
> using namespace ;
> line. This does not compile.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (THRIFT-1731) error: expected identifier before ‘;’ token

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

Henrique Mendonca closed THRIFT-1731.
-------------------------------------

    
> error: expected identifier before ‘;’ token
> -------------------------------------------
>
>                 Key: THRIFT-1731
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1731
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler
>    Affects Versions: 0.9
>            Reporter: Martin Vogt
>            Assignee: Roger Meier
>            Priority: Trivial
>              Labels: empty, namespaces
>         Attachments: ns2.patch
>
>
> If the .thrift file contains no namespace the cpp generator
> creates a:
> using namespace ;
> line. This does not compile.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira