-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[ALCA] [GCC12] Fix build warnings #39520
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39520/32284
|
A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for master. It involves the following packages:
@malbouis, @yuanchao, @cmsbuild, @saumyaphor4252, @francescobrivio, @ChrisMisan, @tvami can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
FYI @thomreis |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-1ca198/27812/summary.html Comparison SummarySummary:
|
const TString &ResultsRootFilePath() const; | ||
const TString &ResultsAsciiFilePath() const; | ||
const TString &HistoryRunListFilePath() const; | ||
const TString &CMSSWBase() const; | ||
const TString &CMSSWSubsystem() const; | ||
const TString &SCRAMArch() const; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is just a minor issue but I think this should either be
const TString & ResultsRootFilePath()
or
const TString& ResultsRootFilePath()
Like it is now, "&" is attached to a function name which I see as a little bit confusing.
const TString &GetStartDate() const; | ||
const TString &GetStopDate() const; | ||
const TString &GetRootFileName() const; | ||
const TString &GetRootFileNameShort() const; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
const TString &TEcnaParPaths::ResultsRootFilePath() const { return fCfgResultsRootFilePath; } | ||
const TString &TEcnaParPaths::ResultsAsciiFilePath() const { return fCfgResultsAsciiFilePath; } | ||
const TString &TEcnaParPaths::HistoryRunListFilePath() const { return fCfgHistoryRunListFilePath; } | ||
const TString &TEcnaParPaths::CMSSWBase() const { return fCfgCMSSWBase; } | ||
const TString &TEcnaParPaths::CMSSWSubsystem() const { return fCfgCMSSWSubsystem; } | ||
const TString &TEcnaParPaths::SCRAMArch() const { return fCfgSCRAMArch; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
const TString &TEcnaRead::GetStartDate() const { return fFileHeader->fStartDate; } | ||
const TString &TEcnaRead::GetStopDate() const { return fFileHeader->fStopDate; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
const TString &TEcnaRead::GetRootFileName() const { return fCnaWrite->GetRootFileName(); } | ||
const TString &TEcnaRead::GetRootFileNameShort() const { return fCnaWrite->GetRootFileNameShort(); } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
@@ -815,7 +815,7 @@ void TEcnaRead::FileParameters(const TString &typ_ana, | |||
// GetLastReqEvtNumber, GetReqNbOfEvts, GetStexNumber | |||
// | |||
//========================================================================= | |||
TString TEcnaRead::GetAnalysisName() { return fFileHeader->fTypAna; } | |||
const TString &TEcnaRead::GetAnalysisName() const { return fFileHeader->fTypAna; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
thanks @ChrisMisan , I will update. |
@ChrisMisan , I tried both your suggestion |
@smuzaffar I guess it's fine, for my own knowledge, what is this "code unit" you've mentioned? |
+alca
|
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
code unit means each individual source file :-) e.g. for
|
+1 |
This should fix the compilation warnings for GCC12 IBs