Download  Print this page

Advertisement

Introduction to Configuring (PSE)
7 Compiler Error Messages
warning C4003
1st possibility:
Description
Elimination
2nd possibility:
Description
Elimination
warning C4002
PSE/7-38
d:\mmc0_35.10\proj\app\test\src\app_win1.c(76) : warning C4035:
'RC_DROW_SOFTKEY' : no return value
generally followed by further error messages.
Example of a cause:
RC_DROW_SOFTKEY (510, EVENT_CODE_LESS, 0, KEY_F8_V, 2,
NOT_PRESSED)
not enough actual parameters for macro '...'
Example of a cause:
BEGIN_OPEN_LIST (OP_WIN_1)
RC_OPEN_EVENT_LIST (700, EV_WIN_1)
END_OPEN_LIST (OP_WIN_1)
In this example, the incorrect action/reaction element identification (in this case
correctly: AC_) has been used for a certain macro.
Check of which list is currently being used and use of the appropriate action/
reaction list identification:
AC_...
OPEN_LIST, CLOSE_LIST, ACTION_LIST
RC_...
SOFTKEY_REACTION_LIST, REACTION_LIST
Example of a cause:
TEXT (150, X_AXIS_UNIT, Y_OUT+0*Y_DIST, T_APP_MM, CS_SMALL,
TEXT_DOUBLE_ZOOMED)
In this example, a parameter has been omitted (in this case: the text color) for
the macro.
Compare the number of parameters in the configuration and in the online help
Configuration Guide. If they are not the same, correct the parameterization of
the macros
Example of an error message:
d:\mmc0_35.10\proj\app\test\src\app_win1.c(123) : warning C4003:
not enough actual parameters for macro 'RC_OPEN_EVENT_LIST'
too many actual parameters for macro '...'
See "warning C4003: not enough actual parameters for macro '...'"
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: