From 170ddc6e3323df14e206680f77f9caca14c566c1 Mon Sep 17 00:00:00 2001 From: Kugel Fuhr <98353208+kugelfuhr@users.noreply.github.com> Date: Mon, 14 Jul 2025 11:35:53 +0200 Subject: [PATCH] Add a --warnings-as-errors option to cc65 for compatibility reasons. --- doc/cc65.sgml | 14 +++++++++++++- src/ca65/main.c | 8 ++++++++ src/cc65/main.c | 11 +++++++++++ src/cl65/main.c | 1 + 4 files changed, 33 insertions(+), 1 deletion(-) diff --git a/doc/cc65.sgml b/doc/cc65.sgml index 0fa43a906..fa48960af 100644 --- a/doc/cc65.sgml +++ b/doc/cc65.sgml @@ -110,6 +110,7 @@ Long options: --target sys Set the target system --verbose Increase verbosity --version Print the compiler version number + --warnings-as-errors Treat warnings as errors --writable-strings Make string literals writable --------------------------------------------------------------------------- @@ -656,6 +657,15 @@ Here is a description of all the command line options: or warnings are encountered. +