Repository navigation
Conversation
fredroy
force-pushed
the
framework_warnings_as_errors
branch
6 times, most recently
from
June 8, 2026 23:40
9048206 to
d2e7617
Compare
Contributor
Author
|
[ci-build][with-all-tests] |
fredroy
force-pushed
the
framework_warnings_as_errors
branch
from
June 9, 2026 23:08
d2e7617 to
04cd3bd
Compare
Contributor
|
When updating of VMs / CIs, warnings are to be expected therefore creating errors. Let's discuss this with @bakpaul |
fredroy
force-pushed
the
framework_warnings_as_errors
branch
from
June 14, 2026 21:58
04cd3bd to
02ee377
Compare
Contributor
|
Yes indeed, I would like to merge it after the CI migration ! |
fredroy
force-pushed
the
framework_warnings_as_errors
branch
from
June 26, 2026 07:04
cdf7516 to
707296d
Compare
fredroy
force-pushed
the
framework_warnings_as_errors
branch
from
July 8, 2026 22:50
707296d to
46ac27b
Compare
fredroy
force-pushed
the
framework_warnings_as_errors
branch
from
July 20, 2026 22:32
46ac27b to
9fe8103
Compare
fredroy
force-pushed
the
framework_warnings_as_errors
branch
from
October 7, 2026 00:23
9fe8103 to
b15ad55
Compare
fredroy
force-pushed
the
framework_warnings_as_errors
branch
from
October 25, 2026 23:56
b15ad55 to
8cb4e75
Compare
fredroy
force-pushed
the
framework_warnings_as_errors
branch
from
October 30, 2026 04:22
9d9e009 to
15c954d
Compare
hugtalbot
self-requested a review
November 5, 2026 09:06
- BaseMass: make the deprecated getPotentialEnergy(mparams) overload non-virtual (it was final) so Mass<T> no longer hides it - ImplicitIntegrationScheme: mark integration factor methods override - Remove unused MechanicalGetNonDiagonalMassesCountVisitor includes - MechanicalOperations: silence deprecated-header messages for the PropagateDx visitors it still uses internally
- BaseLink::readFromSnapshot: rename the link value string so the loop variable linkPath no longer hides it (C4456) - ObjectElement::initNode: rename local parent to parentElement so it no longer hides the Element::parent member (C4458)
- CompressedRowSparseMatrixGeneric::compressCSR: wrap the body in if constexpr (Policy::CompressZeros) instead of an early return - FixedArrayTypeInfo::setSize: move the fallback return into an else branch of the if constexpr - BackTrace: remove the dead return after the switch in SigDescription, the default case already returns
- DynamicLibrary: explicitly cast the GetProcAddress result to void* (-Wmicrosoft-cast) - PipeProcess: remove the set-but-unused busy flag in the Windows branch (-Wunused-but-set-variable)
fredroy
force-pushed
the
framework_warnings_as_errors
branch
from
November 8, 2026 23:41
15c954d to
6fb8a2a
Compare
- BaseForceField, BaseMass: make the deprecated addDForce(mparams, dfId)
and accFromF(mparams, aid) overloads non-virtual (they were final) so
ForceField, Mass, PairInteractionForceField and
MixedInteractionForceField no longer hide them (-Woverloaded-virtual)
- Core config: do not mark beginIntegration as deprecated when building
Sofa.Simulation.Core, whose deprecated
MechanicalBeginIntegrationVisitor still calls it
(-Wdeprecated-declarations)
- MechanicalIntegrationVisitor: silence the deprecated-header message
of MechanicalBeginIntegrationVisitor, which it still uses
- DefaultAnimationLoop: remove the unused
MechanicalBeginIntegrationVisitor include and mark dt as unused
(-Wunused-parameter)
- MechanicalMassLinearSolveVisitor: include its own header instead of
the deprecated MechanicalAccFromFVisitor.h
- Mass overrode the deprecated ForceField::addDForce(mparams, df, dx)
with an empty body, which triggered C4996 in every module including
Mass.h (e.g. Sofa.Simulation.Core). The base implementation is also
empty, so removing the override keeps the same behavior
fredroy
force-pushed
the
framework_warnings_as_errors
branch
from
November 9, 2026 03:29
6fb8a2a to
e31112e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Based on
The continuation of #5914 ,#6027, #6028, #6034......
This should make the compilation of the target Sofa.Framework warning-free.... with the current flags.
[with-all-tests]
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