Renesas Emulator System M3T-MR100 Especificaciones Pagina 3

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 41
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 2
High-performance Embedded Workshop V.4.09 Release Note
R20UT0373EJ0100 Rev.1.00 Page 3 of 41
Feb 01, 2011
1.3 File dependencies scanned
The High-performance Embedded Workshop scans an include file of a source file to show dependencies of
source files on the “Projects” tab of the “Workspace” window and to decide whether to build a file or not.
Even though the source code is syntactically correct, an error message may appear indicating that an include file
has not been correctly recognized as a dependent file.
In such cases, (a) build all files by selecting [Build -> Build All] or (b) select the source file in the “Projects” tab
of the “Workspace” window and select [Build -> Build (file name)].
Include files written in C/C++ source files are not correctly detected as dependent files in the following cases:
(i) “/*” or “*/” is contained in a string.
Example: char A[] = “/*”; <- Assumed as the beginning of a comment.
#include “file.h” <- This file is not detected as a dependent file.
char B[] = “*/”; <- Assumed as the end of a comment.
To support preprocessor statements such as #if, #ifdef, and #define by the High-performance Embedded
Workshop, go to the [Build] menu to open the toolchain option dialog box. On the “Toolchain Option” tab,
check “Support dependency scan of preprocessor statement”.
Table 1.1 shows the preprocessor statements that are currently supported.
Table 1.1 Preprocessor Statements
Preprocessor Statement Description
#define
Defines an identifier. When any preprocessor statements include the identifier, this
identifier is replaced with the defined character string.
e.g. #define NICE_FILE “nice.h”
#include NICE_FILE
#undef Disables replacement of the defined identifier.
#include
Informs the High-performance Embedded Workshop that the specified file is dependent
on the current source file.
#if , #else, and #endif
#elif
When #if <expression> is entered, the High-performance Embedded Workshop only
analyzes the range of source code that satisfies the expression.
When the value resulted from the expression is 0: #if to #else
When the value resulted from the expression is 1: #else to #endif
defind macro
Entering defined (<identifier>) returns 1 when the identifier has already been defined.
Otherwise 0 is returned.
This macro is usually written as #if defined (MACRO).
#if def
#ifndef
The High-performance Embedded Workshop assumes an #ifdef <identifier> statement
as #if 1 when the identifier has already been defined. Otherwise #if 0 is assumed.
An #ifndef <identifier> statement, on the other hand, is assumed as #if 0 when the
identifier has already been defined, and otherwise #if 1.
#line Ignored
#error Ignored
#pragma Ignored
# Ignored
When a preprocessor statement has an expression, the following ten kinds of operators are currently supported
with the dependency check. The dependency search does not operate correctly if an operator other than those
listed below is used.
( ), !, <, <=, >, >=, ==, !=, &&, and ||.
Vista de pagina 2
1 2 3 4 5 6 7 8 ... 40 41

Comentarios a estos manuales

Sin comentarios