[ 
https://issues.apache.org/jira/browse/THRIFT-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Grochowski updated THRIFT-2800:
--------------------------------------
    Attachment: strdup_removed.patch

In attached patch I removed all calls to strdup, just so this error won't 
appear on some other 'strict standard' compiler.

As whole compiler is one big mem-leak I just introduced some new ;) but 
generally I tried to change char* to std::string.

Please review

> error in running make : error in thrifty.cc the method yyparse() reserch the 
> method strdup() (not declared)
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-2800
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2800
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process
>         Environment: cygwin64
> Windows 7 _ 64 bits
>            Reporter: saber hattay
>            Priority: Blocker
>              Labels: build, github-import
>         Attachments: ConfigureAndMake.txt, strdup.patch, strdup.patch, 
> strdup_removed.patch, thriftyNewVersion.yy, thriftyOldVersion.yy
>
>
> Hello, 
> When I tape this command : configure && make  
> I receive this result : 
> make : *** error 2 
> cause by the appel of this function strdup() (function not declared). 
> It's the first time I want to build thrift. 
> Thank you in advance for you help. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to