Harmony
  1. Harmony
  2. HARMONY-6480

FreeBSD comparability: Location of malloc

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0M14
    • Component/s: DRLVM
    • Labels:
    • Environment:
      operating system : FreeBSD [8.0p2]
      CPU architecture : x86
      ant os name/arch : FreeBSD/i386
      hosting Java : 1.6.0_07 (The FreeBSD Foundation)
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Novice

      Description

      While attempting to run the included unit tests (attempting to track down another issue), I got an error from a test header file. Apparently the standard library declaration for malloc(size_t) and friends are now in <stdlib.h>, or where they should be. On FreeBSD including <malloc.h> will generate a compiler error (via preprocessor), and directs you to include <stdlib.h>. Those governing the header files are adamant about the modifications.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Mark Eschbach
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development