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
explicitly convert Time_t to RunNumber to avoid compiler warning #4285
Conversation
A new Pull Request was created by @apfeiffer1 (Andreas Pfeiffer) for CMSSW_7_2_X. explicitly convert Time_t to RunNumber to avoid compiler warning It involves the following packages: Alignment/MillePedeAlignmentAlgorithm @cmsbuild, @Degano, @diguida, @rcastello, @nclopezo can you please review it and eventually sign? Thanks. |
@apfeiffer1 looks a trivial change, so I am giving +1. Before doing this, can you tell me how the compiler is not happy? Is it issuing a warning or an error? And why I cannot see it in the IB pages? |
Hi Salvatore, @apfeiffer1 https://github.com/apfeiffer1 looks a trivial change, so I am
ah, sorry, yes. I got a private mail from Giulio who reported that from """ GCC 4.8.1 does only warn here with -Wconversion, which is not set by That's why it's not in the IB pages. I (and Giulio) still thought it would Thanks, |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_2_X IBs unless changes (tests are also fine). |
explicitly convert Time_t to RunNumber to avoid compiler warning
explicitly convert Time_t to RunNumber for run numbers when creating a pair to make the compiler happy.