From 5c5ae12dfdafe3fda3381cbb73aeaea69f209528 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Sat, 24 Aug 2024 10:18:37 -0700 Subject: [PATCH] Note -Wno-unsafe-buffer-usage in FAQ --- faq.html | 2 +- faq.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/faq.html b/faq.html index 9bc5f0b2f..1371ee2a8 100644 --- a/faq.html +++ b/faq.html @@ -3256,7 +3256,7 @@ is enabled whenever you act on char *s, saying it is unsafe buffer when it’s not (this might be enabled by -Weverything but it might not be; for more details on why we use -Weverything in Clang see the FAQ on “-Weverything”), and it is not detrimental to your submission -if you disable this.

+if you disable this). This warning happens to be -Wno-unsafe-buffer-usage.

So in short, no you should not worry about these as they are sometimes inevitable in obfuscated code and even non-obfuscated code.

If you can work past this it might be good but this is not something that diff --git a/faq.md b/faq.md index 4af54b92b..674291323 100644 --- a/faq.md +++ b/faq.md @@ -3764,7 +3764,7 @@ is enabled whenever you act on `char *`s, saying it is unsafe buffer usage, even when it's not (this might be enabled by `-Weverything` but it might not be; for more details on why we use `-Weverything` in Clang see the FAQ on "[`-Weverything`](#weverything)"), and it is not detrimental to your submission -if you disable this. +if you disable this). This warning happens to be `-Wno-unsafe-buffer-usage`. So in short, no you should not worry about these as they are sometimes inevitable in obfuscated code and even non-obfuscated code.