From 50e4ca9c311ed1cf08e6b21aaa289b182186d52d Mon Sep 17 00:00:00 2001 From: Shib Date: Wed, 13 Apr 2022 12:55:26 +0200 Subject: [PATCH] Fix (gen.c) -> Fixed deprecated attribute warning turning into an error --- vlib/v/parser/fn.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/v/parser/fn.v b/vlib/v/parser/fn.v index bfc70ac603..4bdc619337 100644 --- a/vlib/v/parser/fn.v +++ b/vlib/v/parser/fn.v @@ -222,11 +222,11 @@ fn (mut p Parser) fn_decl() ast.FnDecl { is_markused = true } 'windows_stdcall' { - p.warn_with_pos('windows_stdcall has been deprecated, it will be an error soon', + p.note_with_pos('windows_stdcall has been deprecated, it will be an error soon', p.tok.pos()) } '_fastcall' { - p.warn_with_pos('_fastcall has been deprecated, it will be an error soon', + p.note_with_pos('_fastcall has been deprecated, it will be an error soon', p.tok.pos()) } 'callconv' {