Configuration conflicts with boost platform include header
----------------------------------------------------------

                 Key: THRIFT-1472
                 URL: https://issues.apache.org/jira/browse/THRIFT-1472
             Project: Thrift
          Issue Type: Bug
          Components: C++ - Compiler
    Affects Versions: 0.8
            Reporter: Forest Rouse
             Fix For: 0.8


The current configuration script (configure.in) uses AC_FUNC_MALLOC and 
AC_FUNC_REALLOC.  However, as described in 
http://nerdland.net/unstumping-the-internet/malloc-has-not-been-declared/ when 
boost headers include <cstdlib>, the statements

using ::malloc;

and

using ::realloc;

fail.

Also, my centos 6.1 release does not have an autoconf of the version required 
for running your autoconf so I had to manually fix the configuration file to 
fix the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to