From 8ab54e77a59c2f25aff25440e4592404cc8d8d72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dagfinn=20Ilmari=20Manns=C3=A5ker?= Date: Tue, 23 Aug 2022 19:46:39 +0100 Subject: Mark dowantarray() as deprecated This will make uses of the also-deprecated GIMME macro emit a compile-time warning. --- proto.h | 1 + 1 file changed, 1 insertion(+) (limited to 'proto.h') diff --git a/proto.h b/proto.h index a4f9c5f606..56138cc139 100644 --- a/proto.h +++ b/proto.h @@ -1017,6 +1017,7 @@ Perl_dounwind(pTHX_ I32 cxix); PERL_CALLCONV U8 Perl_dowantarray(pTHX) + __attribute__deprecated__ __attribute__warn_unused_result__; #define PERL_ARGS_ASSERT_DOWANTARRAY -- cgit v1.2.1