-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
initialize members of struct to avoid problems with serialisation #4638
Conversation
A new Pull Request was created by @apfeiffer1 (Andreas Pfeiffer) for CMSSW_7_2_X. initialize members of struct to avoid problems with serialisation It involves the following packages: CondFormats/RPCObjects @apfeiffer1, @diguida, @cmsbuild, @nclopezo, @rcastello, @ggovi, @Degano can you please review it and eventually sign? Thanks. |
+1 On Mon, Jul 14, 2014 at 2:57 PM, cmsbuild notifications@github.com wrote:
Thanks, |
Andreas - do you expect that these changes address the gcc490 issues with the new CondDB ? I tested them locally with both PR 4637 and 4638 but see the same exceptions as before. On Jul 14, 2014, at 3:02 PM, Andreas Pfeiffer notifications@github.com wrote:
|
Hi David, Andreas - do you expect that these changes address the gcc490 issues with
well, yes, they fix the failing unit tests seen in the 490 and CLANG IBs. Thanks, |
Many relvals: eg On Jul 14, 2014, at 7:29 PM, Andreas Pfeiffer notifications@github.com
|
@ktf do you know if gcc490 has changed the handling of "legacy" bools 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). |
Initialize members of struct to avoid problems with serialization.
This PR fixes a problem in the serialisatoin unit test seen in the CLANG builds, where a
non-initialised boolean variable causing problems as it's value was -1 (oxff) while the
C++ standard allows only 0 (false) and 1 (true), and the serialisation code (the EOS
portable binary archive) expects only the standard values.