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
Fix clang compiler warning and replace boost::mpl::if_c with std::conditional #16821
Conversation
Some white space changes, too.
A new Pull Request was created by @knoepfel (Kyle Knoepfel) for CMSSW_9_0_X. It involves the following packages: DataFormats/FWLite @cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here #13028 |
Sorry, looks like a lot of white-space-only changes in this request. |
please test |
+1 |
The tests are being triggered in jenkins. |
This pull request is fully signed and it will be integrated in one of the next CMSSW_9_0_X IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @smuzaffar |
-1 Tested at: 49a7908 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: You can see the results of the tests here: I found follow errors while testing this PR Failed tests: Build
I found an error when building: >> Compiling edm plugin /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2016-11-30-1100/src/CaloOnlineTools/EcalTools/plugins/EcalExclusiveTrigFilter.cc >> Compiling edm plugin /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2016-11-30-1100/src/CaloOnlineTools/EcalTools/plugins/EcalPnGraphs.cc >> Compiling edm plugin /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2016-11-30-1100/src/CaloOnlineTools/EcalTools/plugins/EcalMipGraphs.cc In file included from input_line_9:51: In file included from /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2016-11-30-1100/src/DPGAnalysis/SiStripTools/interface/Multiplicities.h:6: /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2016-11-30-1100/src/FWCore/Framework/interface/Event.h:373:10: error: no member named 'conditional_t' in namespace 'std' std::conditional_t::value, ~~~~~^ /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2016-11-30-1100/src/FWCore/Framework/interface/Event.h:384:10: error: no member named 'conditional_t' in namespace 'std' std::conditional_t::value, ~~~~~^ The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
Comparison not run due to Build errors (RelVals and Igprof tests were also skipped) |
What's going on here? The |
Looking at the full build log, I believe this is a rootcling problem. Clearing out the overlapping output caused by multiple processes used in the compilation leaves
@smuzaffar do we have all the proper flags passed to cling? |
The head in question violates CMS policy that DataFormats should be seperate from the algorithm which produces them. Instead, the classes in this header attempt to create themselves (and therefore are trying to access |
The only file that actually uses and the classes in question are used as helpers and NOT as data formats. Therefore the Wrapper declarations are unnecessary. However, that class does want dictionaries generated since it uses those classes with the |
please test |
The tests are being triggered in jenkins. |
ROOT was rebuilt in the most recent IB to use C++14. This will be used in the next test. |
@smuzaffar looks like the ROOT change broke stuff but we missed it in the IB since we didn't do a full rebuild of CMSSW after the change. |
I took a look at the failing file, but can't see any reason for the missing class error since the file does include the header file which declares that class. In addition, no ROOT specific defines are in any of those headers. |
@Dr15Jones , CMSSW_9_0_X_2016-12-02-2300 was a full build with root updates. |
-1 Tested at: a17221c You can see the results of the tests here: I found follow errors while testing this PR Failed tests: UnitTests
I found errors in the following unit tests: ---> test testRecoMETMETProducers had ERRORS |
Comparison job queued. |
+1 |
The unit test failure has nothing to do with this pull request. (The test failed because the file generated for the test could not be found, which probably means a race condition in the testing infrastructure.) |
Comparison is ready The workflows 1003.0, 1001.0, 1000.0, 140.53, 136.731, 4.22 have different files in step1_dasquery.log than the ones found in the baseline. You may want to check and retrigger the tests if necessary. You can check it in the "files" directory in the results of the comparisons |
hi @knoepfel - could you edit the pull request title to be more reflective of changes made for the release notes. Thanks. |
@davidlange6 done. |
Fixed some clang compiler warnings.
Also replaced several uses of
boost::mpl::if_c
withstd::conditional
.