From: cuz Date: Mon, 21 Jun 2004 22:22:11 +0000 (+0000) Subject: The -A and --ansi switches are gone, together with the __STRICT_ANSI__ X-Git-Tag: V2.12.0~699 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=13a2927e17258051596d7e2e98f072cfce484707;p=cc65 The -A and --ansi switches are gone, together with the __STRICT_ANSI__ predefined macro. Instead there is now a command line option --standard that allows to set c89, c99 or cc65 as language standard. The compiler defines a macro __CC65_STD__ that is one of __CC65_STD_C89__, __CC65_STD_C99__ or __CC65_STD_CC65__ depending on the command line option. Default is cc65 (all extensions) as before. git-svn-id: svn://svn.cc65.org/cc65/trunk@3133 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/doc/cc65.sgml b/doc/cc65.sgml index 73f0ec321..4d4ff3706 100644 --- a/doc/cc65.sgml +++ b/doc/cc65.sgml @@ -54,7 +54,6 @@ The compiler may be called as follows: --------------------------------------------------------------------------- Usage: cc65 [options] file Short options: - -A Strict ANSI mode -Cl Make local variables static -Dsym[=defn] Define a symbol -I dir Set an include directory search path @@ -76,7 +75,6 @@ Short options: Long options: --add-source Include source as comment - --ansi Strict ANSI mode --bss-name seg Set the name of the BSS segment --check-stack Generate stack overflow checks --code-name seg Set the name of the CODE segment @@ -93,6 +91,7 @@ Long options: --register-vars Enable register variables --rodata-name seg Set the name of the RODATA segment --signed-chars Default characters are signed + --standard std Language standard (c89, c99, cc65) --static-locals Make local variables static --target sys Set the target system --verbose Increase verbosity @@ -108,14 +107,6 @@ Here is a description of all the command line options: -