Uploaded image for project: 'DistributedLog'
  1. DistributedLog
  2. DL-19

Can't compile thrift file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 0.5.0
    • None

    Description

      It seems that I can't compile the thrift file using the thrift tool.

      $ thrift --gen cpp distributedlog-protocol/src/main/thrift/service.thrift
      
      [ERROR:~/workspaces/incubator-distributedlog/distributedlog-protocol/src/main/thrift/service.thrift:168] (last token was 'delete')
      Cannot use reserved language keyword: "delete"
      

      I am using thrift 0.9.3

      $ thrift -version
      Thrift version 0.9.3
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zhaijia Jia Zhai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: