From 8bdc3b092cf0066f3fa1a09c9604133b98c743f2 Mon Sep 17 00:00:00 2001 From: Bob Andrews Date: Fri, 6 May 2022 22:13:33 +0200 Subject: [PATCH] Update Contributing.md --- Contributing.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Contributing.md b/Contributing.md index 18243b3bb..acaa396b1 100644 --- a/Contributing.md +++ b/Contributing.md @@ -51,6 +51,9 @@ color := $0787 The following is still very incomplete - if in doubt please look at existing sourcefiles and adapt to the existing style * Your files should obey the C89 standard. +* We generally have a "no warnings" policy +* Warnings must not be hidden by using typecasts - fix the code instead + * In printf-style functions use the PRIX64 (and similar) macros to deal with 64bit values * The normal indentation width should be four spaces. * You must use ANSI C comments (```/* */```); you must not use C++ comments (```//```). * When you add functions to an existing file, you should separate them by the same number of blank lines that separate the functions that already are in that file.