Skip to content
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

[Base] Fix a minor bug related to the printing of info message while parsing & minor upgrade to c++11 #5191

Merged
merged 6 commits into from
Jan 23, 2025

Conversation

damienmarchal
Copy link
Contributor

Base::parse() emits some messages with msg_info().

But msg_info() is controlled by the printLog data field. The consequence is that every fields parsed before the "printLog" one are not reporting messages properly.

To fix it we need to process the printLog one before any other so there is a consistent result.


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

…parsing

Parsing emits some messages with msg_info(). But this one is controlled by the
printLog data field. The consequence is that every fields parsed before the "printLog" one
are not reporting messages properly. To fix it we need to process the printLog one before
any other so there is a consistent result.
@damienmarchal damienmarchal added pr: fix Fix a bug pr: status to review To notify reviewers to review this pull-request issue: bug (minor) Bug affecting only some users or with no major impact on the framework labels Jan 6, 2025
@bakpaul bakpaul changed the title [BASE] Fix a minor bug related to the printing of info message while parsing & minor upgrade to c++11 [Base] Fix a minor bug related to the printing of info message while parsing & minor upgrade to c++11 Jan 6, 2025
@bakpaul bakpaul removed the issue: bug (minor) Bug affecting only some users or with no major impact on the framework label Jan 6, 2025
@fredroy
Copy link
Contributor

fredroy commented Jan 7, 2025

[ci-build][with-all-tests]

@hugtalbot hugtalbot added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Jan 22, 2025
@hugtalbot hugtalbot merged commit bb821d3 into sofa-framework:master Jan 23, 2025
11 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: fix Fix a bug pr: status ready Approved a pull-request, ready to be squashed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants