You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RPC spec generator should not add pragmas to suppress deprecated parameters around generated inits. Instead the generated init should not include the deprecated parameter.
For example:
In SDLGetVehicleData.h the generator wraps the generated inits with push/pop pragmas to suppress deprecated warnings when it should not. The init also includes fuelLevel and fuelLevel_State, which are both deprecated.
Run the generator script in the "generator" folder of the library.
Expected Behavior
The inits for each class or struct should be generated correctly.
Observed Behavior
If the class or struct has a deprecated parameter, the inits include the deprecated parameters and are wrapped with a push/pop pragma to suppress the deprecated warning.
OS & Version Information
iOS Version: n/a
SDL iOS Version: 6.6
Testing Against: n/a
The text was updated successfully, but these errors were encountered:
Bug Report
The RPC spec generator should not add pragmas to suppress deprecated parameters around generated inits. Instead the generated init should not include the deprecated parameter.
For example:
In
SDLGetVehicleData.h
the generator wraps the generated inits with push/pop pragmas to suppress deprecated warnings when it should not. The init also includesfuelLevel
andfuelLevel_State
, which are both deprecated.Reproduction Steps
Expected Behavior
The
init
s for each class or struct should be generated correctly.Observed Behavior
If the class or struct has a deprecated parameter, the
init
s include the deprecated parameters and are wrapped with a push/pop pragma to suppress the deprecated warning.OS & Version Information
The text was updated successfully, but these errors were encountered: