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
Clean up for GCC 6 (<cmath> header, std::, __afs cache files) #13631
Conversation
These files could be related to AFS caching or similar. These should not be part of repository. Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
The following errors are reported by GCC (6.0.0, r233941): L1Trigger/L1TMuonOverlap/src/OMTFSorter.cc:162:38: error: call of overloaded 'abs(float)' is ambiguous L1Trigger/L1TMuonBarrel/src/Twinmux_v1/PrimitiveCombiner.h:83:78: error: call of overloaded 'abs(float)' is ambiguous EventFilter/L1TRawToDigi/src/Unpacker.cc:14:28: error: 'floor' was not declared in this scope Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
The compiler (GCC and Clang) will report that comparing address of an object to 0/NULL/nullptr will always be false. The address is not the same as pointer. The following errors are reported by GCC (6.0.0, r233941): L1Trigger/GlobalCaloTrigger/plugins/L1GctEmulator.cc:130:9: error: the compiler can assume that the address of 'c' will never be NULL [-Werror=address] L1Trigger/GlobalCaloTrigger/plugins/L1GctPrintLuts.cc:159:9: error: the compiler can assume that the address of 'c' will never be NULL [-Werror=address] L1Trigger/GlobalCaloTrigger/test/gctTestFunctions.cc:55:12: error: the compiler can assume that the address of 'c' will never be NULL [-Werror=address] L1Trigger/GlobalCaloTrigger/test/L1GctTest.cc:207:12: error: the compiler can assume that the address of 'c' will never be NULL [-Werror=address] L1Trigger/L1TGlobal/src/L1TMenuEditor/xsd/cxx/tree/elements.hxx:380:21: error: the compiler can assume that the address of 'x' will never be NULL [-Werror=address] Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
A new Pull Request was created by @davidlt for CMSSW_8_1_X. It involves the following packages: EventFilter/L1TRawToDigi The following packages do not have a category, yet: L1Trigger/L1TMuonBarrel @cmsbuild, @mulhearn, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are list here #13028 |
Tests are scheduled. |
@davidlange6 @smuzaffar we have two packages which are not assigned to any categories, I guess, these are L1 packages? |
@davidlt, cms-bot has been updated. It should now recognize these packages as l1 |
Clean up for GCC 6 (<cmath> header, std::, __afs cache files)
Misc. changes needed for GCC 6, but they are all general clean up.