You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Forest Rouse (Updated) (JIRA)" <ji...@apache.org> on 2011/12/21 00:55:30 UTC

[jira] [Updated] (THRIFT-1472) Configuration conflicts with boost platform include header

     [ 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