Thrift
  1. Thrift
  2. THRIFT-1472

Configuration conflicts with boost platform include header

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.8
    • Fix Version/s: None
    • 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.

      1. configure.ac
        16 kB
        Forest Rouse

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Forest Rouse
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development