1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-26 05:29:30 +00:00

Rewrote the paragraph about compiler limits and standard compliance.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4080 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2009-08-29 21:32:14 +00:00
parent 6b4fe90928
commit 7f7dc69290

View File

@ -403,37 +403,19 @@ search path for include files on startup.
<sect>Differences to the ISO standard<p>
Apart from the things listed below, the compiler does support additional
keywords, has several functions in the standard headers with names outside the
reserved namespace and a few syntax extensions. All these can be disabled with
the <tt><ref id="option--standard" name="--standard"></tt> command line
option. Its use for maximum standards compatibility is advised.
Here is a list of differences between the language, the compiler accepts,
and the one defined by the ISO standard:
<itemize>
<item> The compiler allows unnamed parameters in parameter lists. The
compiler will not issue warnings about unused parameters that don't
have a name. This feature can be disabled with the <tt><ref
id="option--standard" name="--standard"></tt> command line option.
<p>
<item> The compiler has some additional keywords:
<p>
<itemize>
<item><tt/asm/
<item><tt/__asm__/
<item><tt/fastcall/
<item><tt/__fastcall__/
<item><tt/__AX__/
<item><tt/__EAX__/
<item><tt/__func__/
<item><tt/__attribute__/
</itemize>
<p>
The keywords without the underlines can be disabled with the
<tt><ref id="option--standard" name="--standard"></tt> command line
option.
<p>
<item> The datatypes "float" and "double" are not available.
<p>
<item> The compiler does not support bit fields.
<p>
<item> C Functions may not return structs (or unions), and structs may not
be passed as parameters by value. However, struct assignment *is*
possible.