genericopenlibs/openenvcore/include/_ansi.dosc
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 19 Aug 2010 11:33:45 +0300
branchRCL_3
changeset 54 4332f0f7be53
parent 0 e4d67989cc36
permissions -rw-r--r--
Revision: 201021 Kit: 201033

/** @file ../include/_ansi.h
@internalComponent
*/

/** @def __STDC__

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.

@publishedAll
@released
*/

/** @def _ATTRIBUTE(attrs)

From GCC 2.5 onwards it is possible to tell the compiler that functions dont return, which would stop some warnings while building STDLIB

@publishedAll
@released
*/

/** @def _STRICT_ANSI

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).

@publishedAll
@released
*/