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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 0.8
    • 0.10.0
    • C++ - Compiler
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            rouse Forest Rouse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment