diff --git a/doc/cc65.sgml b/doc/cc65.sgml index eb5febced..b9e09b9b1 100644 --- a/doc/cc65.sgml +++ b/doc/cc65.sgml @@ -49,12 +49,12 @@ The compiler may be called as follows: --------------------------------------------------------------------------- -Usage: cc65 [options] file -Short options: - -Cl Make local variables static - -Dsym[=defn] Define a symbol - -E Stop after the preprocessing stage - -I dir Set an include directory search path +Usage: cc65 [options] file +Short options: + -Cl Make local variables static + -Dsym[=defn] Define a symbol + -E Stop after the preprocessing stage + -I dir Set an include directory search path -O Optimize code -Oi Optimize code, inline more code -Or Enable register variables @@ -283,15 +283,29 @@ Here is a description of all the command line options: This option allows to set the language standard supported. The argument is one of - - c89 - c99 - cc65 - + + // comments and the non-standard keywords without + underscores. Please note that cc65 is not a fully C89 compliant compiler + despite this option. A few more things (like floats) are missing. - Please note that the compiler does not support the c99 standard and never - will. c99 mode is actually c89 mode with a few selected c99 extensions - (// comments for example). + // comments are allowed. It will also cause warnings and even + errors in a few situations that are allowed with + + Please note that the compiler does not support the C99 standard and never + will. c99 mode is actually c89 mode with a few selected C99 extensions.