From 6bb1b6953f77bcf07e337ccd988b562a9cd611f3 Mon Sep 17 00:00:00 2001 From: Greg King Date: Sat, 17 Apr 2021 01:59:09 -0400 Subject: [PATCH] Documented the options to control cc65's warnings about induced pointer type changes. --- doc/cc65.sgml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/cc65.sgml b/doc/cc65.sgml index 240c2bc09..dc754cb31 100644 --- a/doc/cc65.sgml +++ b/doc/cc65.sgml @@ -546,6 +546,12 @@ Here is a description of all the command line options: Treat all warnings as errors. Warn about statements that don't have an effect. + + Warn if a pointer assignment changes the signedness of the target + of a pointer value, and the new signedness wasn't cast explicitly. + + Warn if a pointer assignment changes the type of the target + of a pointer value, and the new type wasn't cast explicitly. Warn about a / that changes a character's code number from/to 0x00.