EasyManua.ls Logo

Intel i960 - Combining Long with Typedef Names

Intel i960
347 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Caveats
12-9
12
In some other C compilers, an extern declaration affects all the rest of
the file even if it happens within a block.
The
ftraditional option directs the compiler to treat all extern
declarations as global, like traditional compilers.
Combining long with typedef Names
In traditional C, you can combine long, etc., with a typedef name, as
shown here:
typedef int foo;
typedef long foo bar;
In ANSI C, this is not allowed: long and other type modifiers require an
explicit
int. Because this criterion is expressed by grammar rules rather
than C code,
ftraditional cannot alter it.
Using typedef Names in Function Parameters
Some C compilers allow typedef names to be used as function parameters.
Because this criterion is expressed by grammar rules rather than C code,
ftraditional cannot alter it.
Whitespace in Compound Assignment Operators
Some C compilers allow whitespace in the middle of compound
assignment operators such as
+=. The CTOOLS960 and GNU/960
compiler , following the ANSI standard, does not allow this. Because this
criterion is expressed by grammar rules rather than C code,
ftraditional cannot alter it.

Table of Contents

Related product manuals