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

error making c++ library on windows 8.1 using cygwin

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Information Provided
    • Affects Version/s: 0.11.0
    • Fix Version/s: None
    • Labels:
    • Environment:

      Windows 8.1, thrift 0.11.0

      cygwin64, boost 1_66, GNU make 4.2.1, g++ 6.4.0, automake 1.15.1, autoconf 2.69

      Description

      src/thrift/transport/THttpServer.cpp: In member function 'virtual void apache::thrift::transport::THttpServer::parseHeader(char*)':
      src/thrift/transport/THttpServer.cpp:50:74: error: 'strcasestr' was not declared in this scope
         #define THRIFT_strcasestr(haystack, needle) strcasestr(haystack, needle)
                                                                                ^
      src/thrift/transport/THttpServer.cpp:62:9: note: in expansion of macro 'THRIFT_strcasestr'
           if (THRIFT_strcasestr(value, "chunked") != NULL) {
               ^~~~~~~~~~~~~~~~~
      make[4]: *** [Makefile:1350: src/thrift/transport/THttpServer.lo] Error 1

       

      This is a part of the console output, but it is the entire error. This happened during the execution of make in the root directory.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jking3 James E. King III
                Reporter:
                michel.max Michel Max
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: