[ https://issues.apache.org/jira/browse/THRIFT-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Forest Rouse updated THRIFT-1472: --------------------------------- Attachment: configure.ac This is the autoconf file without the AC_FUNC_MALLOC/REALLOC lines. Unfortunately I could not run autoconf on it due to my version level of autoconf. > 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 > > Attachments: configure.ac > > > 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