From 645bfcc28f9d2f2b0570827a46b6420662dc5d33 Mon Sep 17 00:00:00 2001 From: Rageking8 <106309953+Rageking8@users.noreply.github.com> Date: Fri, 8 Aug 2025 17:59:37 +0800 Subject: [PATCH 1/2] Add C6064 "See also" link in C4473 warning reference --- docs/error-messages/compiler-warnings/c4473.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/error-messages/compiler-warnings/c4473.md b/docs/error-messages/compiler-warnings/c4473.md index b10194290b..c83108b1f7 100644 --- a/docs/error-messages/compiler-warnings/c4473.md +++ b/docs/error-messages/compiler-warnings/c4473.md @@ -54,3 +54,7 @@ void scan_func(int a, float f) ``` In this example, **scanf_s** requires two arguments for each placeholder, one to supply the address to write to, and a second to supply the size of the first. Check the documentation for each library function for an explanation of the required arguments. + +## See also + +[C6064](../../code-quality/c6064.md) From 38fcfd60b91a772ee4822439235c0bf835fd61d0 Mon Sep 17 00:00:00 2001 From: Rageking8 <106309953+Rageking8@users.noreply.github.com> Date: Fri, 8 Aug 2025 18:00:19 +0800 Subject: [PATCH 2/2] Update metadata in 2 warning topics --- docs/code-quality/c6064.md | 2 +- docs/error-messages/compiler-warnings/c4473.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/code-quality/c6064.md b/docs/code-quality/c6064.md index 645f77ff24..c17eeaf1c7 100644 --- a/docs/code-quality/c6064.md +++ b/docs/code-quality/c6064.md @@ -1,6 +1,6 @@ --- +title: "Warning C6064" description: "Learn more about: Warning C6064" -title: Warning C6064 ms.date: 2/07/2023 f1_keywords: ["C6064", "MISSING_INTEGER_ARGUMENT_TO_FORMAT_FUNCTION", "__WARNING_MISSING_INTEGER_ARGUMENT_TO_FORMAT_FUNCTION"] helpviewer_keywords: ["C6064"] diff --git a/docs/error-messages/compiler-warnings/c4473.md b/docs/error-messages/compiler-warnings/c4473.md index c83108b1f7..5dfe94c286 100644 --- a/docs/error-messages/compiler-warnings/c4473.md +++ b/docs/error-messages/compiler-warnings/c4473.md @@ -1,7 +1,7 @@ --- -description: "Learn more about: Compiler Warning (level 1) C4473" title: "Compiler Warning C4473" -ms.date: "02/16/2018" +description: "Learn more about: Compiler Warning (level 1) C4473" +ms.date: 02/16/2018 f1_keywords: ["C4473"] helpviewer_keywords: ["C4473"] ---