We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The RPC spec generator should not wrap deprecated properties or enum with #pragmas to suppress "-Wdeprecated-declarations as it is not necessary.
#pragma
"-Wdeprecated-declarations
#pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations" // some property or enum definition #pragma clang diagnostic pop
The generated file for SDLCharacterSet should should generate for SDLCharacterSetType2:
SDLCharacterSet
SDLCharacterSetType2
/** * @deprecated * @since SDL 7.0.0 */ extern SDLCharacterSet const SDLCharacterSetType2 __deprecated_msg("");
It currently generates:
/** * @deprecated * @since SDL 7.0.0 */ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations" extern SDLCharacterSet const SDLCharacterSetType2 __deprecated_msg(""); #pragma clang diagnostic pop
The text was updated successfully, but these errors were encountered:
FrankElias77
No branches or pull requests
Bug Report
The RPC spec generator should not wrap deprecated properties or enum with
#pragma
s to suppress"-Wdeprecated-declarations
as it is not necessary.Reproduction Steps
Expected Behavior
The generated file for
SDLCharacterSet
should should generate forSDLCharacterSetType2
:Observed Behavior
It currently generates:
OS & Version Information
The text was updated successfully, but these errors were encountered: