Closed JohanBertrand closed 7 months ago
Thanks!
I originally changed the names of the variables in the fpp files, because I thought we should not advise users to add a m
prefix in front of the variables they defined.
I think it's OK in the context of a unit test. In real code, a struct member name should say what the member does. In a unit test context, it seems fine to call a U32 member mU32
, since it really has no purpose except to be a U32 member in the context of that test.
More details in https://github.com/nasa/fprime/pull/2482
Fixes in the code generation to remove -Wshadow warnings:
m_
for fprime component member variables