author | sl |
Tue, 10 Jun 2014 14:32:02 +0200 | |
changeset 1 | 260cb5ec6c19 |
permissions | -rw-r--r-- |
sl@0 | 1 |
/** @file ../include/_ansi.h |
sl@0 | 2 |
@internalComponent |
sl@0 | 3 |
*/ |
sl@0 | 4 |
|
sl@0 | 5 |
/** @def __STDC__ |
sl@0 | 6 |
|
sl@0 | 7 |
Declares ANSI C environment flag. Epoc32 STDLIB is an ANSI environment and expects an ANSI C compiler MSVC is however an environment which doesn't define __STDC__, so we fix it up in here. |
sl@0 | 8 |
|
sl@0 | 9 |
@publishedAll |
sl@0 | 10 |
@released |
sl@0 | 11 |
*/ |
sl@0 | 12 |
|
sl@0 | 13 |
/** @def _ATTRIBUTE(attrs) |
sl@0 | 14 |
|
sl@0 | 15 |
From GCC 2.5 onwards it is possible to tell the compiler that functions dont return, which would stop some warnings while building STDLIB |
sl@0 | 16 |
|
sl@0 | 17 |
@publishedAll |
sl@0 | 18 |
@released |
sl@0 | 19 |
*/ |
sl@0 | 20 |
|
sl@0 | 21 |
/** @def _STRICT_ANSI |
sl@0 | 22 |
|
sl@0 | 23 |
To get a strict ANSI C environment, define the macro _STRICT_ANSI. This will comment out the non-ANSI parts of the ANSI header files (non-ANSI header files arent affected). |
sl@0 | 24 |
|
sl@0 | 25 |
@publishedAll |
sl@0 | 26 |
@released |
sl@0 | 27 |
*/ |
sl@0 | 28 |
|
sl@0 | 29 |
|
sl@0 | 30 |