Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3518

TConcurrentClientSyncInfo files were missing for Visual Studio

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.9.3
    • 0.10.0
    • C++ - Library
    • None
    • Patch Available

    Description

      $. add TestService.thrift

      namespace cpp test
      
      service TestService
      {
          i32 test(1:i32 data1, 2:string data2);
      }
      

      $. compile TestService.thrift

      thrift --strict --gen cpp --out . TestService.thrift
      

      $. build with Visual Studio

      Severity	Code	Description	Project	File	Line
      Error	LNK2019	unresolved external symbol "public: __cdecl apache::thrift::async::TConcurrentSendSentry::TConcurrentSendSentry(class apache::thrift::async::TConcurrentClientSyncInfo *)" (??0TConcurrentSendSentry@async@thrift@apache@@QEAA@PEAVTConcurrentClientSyncInfo@123@@Z) referenced in function "public: int __cdecl test::TestServiceConcurrentClient::send_test(int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?send_test@TestServiceConcurrentClient@test@@QEAAHHAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
      
      blah blah blah
      

      Attachments

        1. THRIFT-3518.patch
          2 kB
          Xiaoshuang LU

        Activity

          People

            Unassigned Unassigned
            in-chief Xiaoshuang LU
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: