Download  Print this page

Advertisement

Introduction to Configuring (PSE)
7 Compiler Error Messages
7.1

Errors

error C2370
Description
Elimination
error C2065
Description
Elimination
PSE/7-36
redefinition; different storage class
In an application source file a certain ID (here: 110) has been used two or
more times for the same macro (here: RECTANGLE).
Use of another ID for one of the two duplicated macros.
In principle, one ID can be used for several macros. Here it must be
ensured that the macros are of a different type.
Example of an error message:
d:\mmc0_35.10\proj\app\test\src\app_win1.c(27) : error C2370:
'rect_110' : redefinition; different storage class
Example of a cause:
RECTANGLE (110, BEGIN_X, BEGIN_Y,
WIDTH_M_INI, HEIGHT_M_INI, FILLED, W_FCOL, 0xff)
RECTANGLE (110, BEGIN_X, BEGIN_Y,
WIDTH_M_INI, HEADER, FILLED, W_HL_FCOL, 0xff)
undeclared identifier
A symbolic text name is specified in a macro (in this case:
T_APP_WIN_1_HEADER), which
was either not defined in the text source file or
was possibly written incorrectly,
or was not converted.
When the symbolic name has not yet been entered in the text file, then add the
entry to the file.
When the symbolic name has been written incorrectly, then correct the entries
in the application source file.
When the text source file has not been converted, it must be converted before
the application is compiled, in as far as a change has been made in the
application text files.
Example of an error message:
d:\mmc0_35.10\proj\app\test\src\app_win1.c(30) : error C2065:
'T_APP_HEADER_1' : undeclared identifier
generally followed by further error messages.
Example of a cause:
TEXT (120, HEADER_X, HEADER_Y, T_APP_WIN_1_HEADER, CS_SMALL, 0,
W_HL_TCOL)
SINUMERIK 840D/810D Configuring the OP 030 Operator Interface (FBO) – 09.01 Edition
© Siemens AG, 2001. All rights reserved
09.01

Advertisement

This manual also for:

Sinumerik 810d

Comments to this Manuals

Symbols: 0
Latest comments: