Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-8475

PTR macro defined in mmalloc.h is not undefined

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.08/00
    • Fix Version/s: 6.10/00, 6.08/02
    • Component/s: None
    • Labels:
      None
    • Environment:

      Scientific Linux Fermi 6.7

      Description

      Using a build of ROOT 6.08 from the patches branch (commit e9f58cceb184d41701d90fcce3e4ae2ddd3500f2), there is a macro in include/mmalloc.h that is not undef'ed. To reproduce:

      {{[> root -l
      root [0] typedef int* PTR;
      ROOT_prompt_0:1:14: error: expected unqualified-id
      typedef int* PTR;
      ^
      /products/root/v6_08_00/Linux64bit+2.6-2.12-e12-prof/etc/../include/mmalloc.h:29:29: note: expanded from macro 'PTR'
      #define PTR void *
      ^}}
      This causes problems for some of the code in the art framework.

        Attachments

          Activity

            People

            • Assignee:
              axel Axel Naumann
              Reporter:
              8ad121ca011a999be580 Kyle Knoepfel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: