You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2018/03/14 19:11:00 UTC

[jira] [Comment Edited] (THRIFT-4482) error making c++ library on windows 8.1 using cygwin

    [ https://issues.apache.org/jira/browse/THRIFT-4482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16399136#comment-16399136 ] 

James E. King, III edited comment on THRIFT-4482 at 3/14/18 7:10 PM:
---------------------------------------------------------------------

I cannot reproduce this locally with cygwin64. 

I go into build\appveyor and run "simulate-appveyor.bat Debug x64 CYGWIN" and it performs a full build without this error?  This uses cmake to do the build.


was (Author: jking3):
I cannot reproduce this locally with cygwin64. 

I go into build\appveyor and run "simulate-appveyor.bat Debug x64 CYGWIN" and it performs a full build without this error?

> 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
>            Assignee: James E. King, III
>            Priority: Major
>              Labels: build, windows
>
> 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)