Skip to content

Compile error if include before SUSYObjDef_xAOD.h #5

@max-cw

Description

@max-cw

I'm not sure if you're interest, but today I ran into a strange issue. If I include SUSYTools/SUSYObjDef_xAOD.h after the RestFrames' header files, my code won't compile. The error message is like this:

In file included from /export/home/max/Stop0L/RootCoreBin/include/RestFrames/RFBase.hh:58:0,
                 from /export/home/max/Stop0L/RootCoreBin/include/RestFrames/RestFrame.hh:33,
                 from /export/home/max/Stop0L/RootCoreBin/include/RestFrames/ReconstructionFrame.hh:33,
                 from /export/home/max/Stop0L/RootCoreBin/include/RestFrames/LabRecoFrame.hh:33,
                 from /export/home/max/Stop0L/Stop0LRun2/Stop0LRun2/RJigsaw.h:4,
                 from /export/home/max/Stop0L/Stop0LRun2/Root/RJigsaw.cxx:1:
/export/home/max/Stop0L/RootCoreBin/include/RestFrames/RFLog.hh:135:17: error: ‘RFLog’ has not been declared
   #define m_End RFLog::EndMessage

If I move SUSYObjDef_xAOD.h to before the RestFrames', it's fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions