From ea61dbf123af70480a7368df6c656cd041278362 Mon Sep 17 00:00:00 2001 From: Frank Elias Date: Thu, 17 Sep 2020 10:26:42 -0400 Subject: RPC spec generator should not add #pragmas to suppress deprecation warnings to property and enum definitions RPC spec generator should not add #pragmas to suppress deprecation warnings to property and enum definitions --- generator/templates/functions/template.m.jinja2 | 3 --- 1 file changed, 3 deletions(-) (limited to 'generator') diff --git a/generator/templates/functions/template.m.jinja2 b/generator/templates/functions/template.m.jinja2 index 9809b8df2..34fc55713 100644 --- a/generator/templates/functions/template.m.jinja2 +++ b/generator/templates/functions/template.m.jinja2 @@ -6,8 +6,6 @@ #import "SDLRPCParameterNames.h" {%- endblock %} {% block constructors %} -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wdeprecated-declarations" - (instancetype)init { self = [super initWithName:SDLRPCFunctionName{{origin}}]; if (!self) { @@ -15,7 +13,6 @@ } return self; } -#pragma clang diagnostic pop {{super()}} {%- endblock -%} {% set parameters_store = 'parameters' %} -- cgit v1.2.1