New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cpp11migrate --addoverride #332
Conversation
Splitting into one branch per package. |
Everything on one branch. |
This one does not compile because: Fireworks/Core/src/FWEveDigitSetScalableMarker.cc is included in: Fireworks/Core/src/classes.h and genreflex chokes on it. Can you please fix it? @alja is there any way we can avoid including a cc file in classes.h? |
I will split the code into header and source file if this helps to solve the problem. |
Backed out change to Fireworks/Core/src/FWEveDigitSetScalableMarker.cc |
ROOT's c++ parser can't handle the C++11 keyword 'override'. So the only way I can see ti fix this is to do something like the following in the header definition #define OVERRIDE_KEYWORD
#if !defined(__CINT__) && !defined(__MAKECINT__)
#undef OVERRIDE_KEYWORD
#define OVERRIDE_KEYWORD override
#endif and then replace all occurences of |
I have been using GCCXML, rather than CINT and MAKECINT. That will work, and is more consistent with use elsewhere. |
Thanks for the workaround. Will split the code into header and source anyway. It was my laziness I did not do this at the first place. |
@nclopezo can you test? |
Hi, I took this changes on top of CMSSW_7_0_X_2013-08-16-0200, The compilation fails because there is a extra override keyword in the file: /build/dmendezl/CMSSW_7_0_X_2013-08-16-0200/src/SimGeneral/MixingModule/plugins/HiMixingModule.cc in line 119 |
Complete error, please. |
Hi Giulio, this is the error message: /build/dmendezl/CMSSW_7_0_X_2013-08-16-0200/src/SimGeneral/MixingModule/plugins/HiMixingModule.cc:119:9: error: 'override' does not name a type if you look at the file you can see the extra "override" keyword. Maybe given the amount of files github is not letting me make a comment on the diff. |
You are right, it does look like there is an extra |
On 8/16/2013 7:44 AM, Giulio Eulisse wrote:
/storage/local/data1/gartung/CMSSW_7_0_0_pre1/src/SimGeneral/MixingModule/plugins/HiMixingModule.cc:119:9: |
Thanks. @nclopezo can you give it another try when you have time? Thanks. |
The following categories have been signed by @fwyzard: HLT @cms-git-hlt |
The following categories have been signed by andreasp (a.k.a. @apfeiffer1 on GitHub): Database @cms-git-db |
2 similar comments
The following categories have been signed by andreasp (a.k.a. @apfeiffer1 on GitHub): Database @cms-git-db |
The following categories have been signed by andreasp (a.k.a. @apfeiffer1 on GitHub): Database @cms-git-db |
The following categories have been signed by ciulli (a.k.a. @vciulli on GitHub): Generators @cms-git-generators |
The following categories have been signed by @demattia: Calibration and Alignment @cms-git-alca |
The following categories have been signed by speer (a.k.a. @thspeer on GitHub): Reconstruction @cms-git-reconstruction |
Hi, I took this changes on top of CMSSW_7_0_X_2013-08-19-0200, I ran the unit tests and RelVals. All tests passed. |
The following categories have been signed by chrjones (a.k.a. @Dr15Jones on GitHub): Visualization, Geometry, Core @cms-git-visualization, @cms-git-core, @cms-git-geometry |
The following categories have been signed by @vadler: Analysis @cms-git-analysis |
Move FWEveDigitSetScalableMarker delcaration in header file. Related to #332
Rebased to current cmssw/CMSSW_7_0_X |
I built and run the tests. since this is really technical changes, I'll bypass. |
PR Tests: test clang compilation and improve results reporting script
…ffInHeppy Heppy: new features in Photon object/analyzer
PR cms-sw#327 (solving existing conflicts) + dead modules option
…tion. Note also that the result with or without cone exclusion enabled are just scaled versions of each other. (cms-sw#332)
All override keywords added by the clang extras utility cpp11-migrate --add-override.