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

GeoCad and anything are incompatible due to name clashes

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • 6.16/00
    • 6.16/00
    • None
    • None
    • all

    Description

      GeoCad defines a macro which is called `Handle`, a very common name. This is catched by ProofBench but it could be really anything:

      In file included from libProofBench dictionary payload:5:
      /mnt/build/wsincr/LABEL/ROOT-fedora28/SPEC/cxx14/build/include/TProofBenchDataSet.h:34:35: error: too many arguments provided to function-like macro invocation
         Int_t Handle(const char *dset, TObject *type);
                                        ^
      /usr/include/oce/Standard_Macro.hxx:23:12: note: macro 'Handle' defined here
      # define   Handle(ClassName)      Handle_##ClassName
                 ^
      Error in <TInterpreter::AutoParse>: Error parsing payload code for class TPBHandleDSType with content:
       
      #line 1 "libProofBench dictionary payload"
       
       
      #define _BACKWARD_BACKWARD_WARNING_H
      #include "TProofBench.h"
      #include "TProofBenchDataSet.h"
      #include "TProofBenchRun.h"
      #include "TProofBenchRunCPU.h"
      #include "TProofBenchRunDataRead.h"
      #include "TProofBenchTypes.h"
      #include "TProofNodes.h"
      #include "TProofPerfAnalysis.h"
       
      #undef  _BACKWARD_BACKWARD_WARNING_H
      

      Attachments

        Issue Links

          Activity

            People

              axel Axel Naumann
              dpiparo Danilo Piparo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Actual End: