Michel Max created THRIFT-4482:
----------------------------------
Summary: error making c++ library on windows 8.1 using cygwin
Key: THRIFT-4482
URL: https://issues.apache.org/jira/browse/THRIFT-4482
Project: Thrift
Issue Type: Bug
Components: Build Process, C++ - Library
Affects Versions: 0.11.0
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
Reporter: Michel Max
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)