Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1472

Configuration conflicts with boost platform include header

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 0.8
    • Fix Version/s: 0.10.0
    • Component/s: C++ - Compiler
    • Labels:
      None

      Description

      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.

        Attachments

        1. configure.ac
          16 kB
          Forest Rouse

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rouse Forest Rouse

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment