Summary
ESPressio_SerializationTraversal.hpp currently contains a statement sequence that triggers -Wmisleading-indentation under GCC when downstream consumers compile with warnings-as-errors:
if(!FromNode(node,value))fail(); return result;
This was exposed by ESPressio Serial's host test suite while validating against released Serializable 0.10.1.
Impact
Downstream projects using -Werror fail to compile even though the logic itself is unchanged.
Required fix
Reformat the branch so control flow is unambiguous, e.g.:
if (!FromNode(node, value)) {
fail();
}
return result;
No API or behavioural change is intended.
Release
Target patch release: 0.10.2.
Summary
ESPressio_SerializationTraversal.hppcurrently contains a statement sequence that triggers-Wmisleading-indentationunder GCC when downstream consumers compile with warnings-as-errors:This was exposed by ESPressio Serial's host test suite while validating against released Serializable 0.10.1.
Impact
Downstream projects using
-Werrorfail to compile even though the logic itself is unchanged.Required fix
Reformat the branch so control flow is unambiguous, e.g.:
No API or behavioural change is intended.
Release
Target patch release: 0.10.2.