Commands Invoked with "?" Command Must Be Compiled with /Zi

ID Number: Q43556

2.x 3.00 3.10 3.11 3.14 | 2.x 3.00 3.10 3.11 3.12 3.50

MS-DOS | OS/2

Summary:

Invoking C functions in CodeView using the "?" command works as

expected as long as the function is contained in a module that was

compiled with /Zi for the CodeView information. However, if you invoke

a C run-time library function, CodeView returns the error message

"syntax error."

The reason for the error message is that the module containing the

library function is not compiled with the CodeView option /Zi. The

error message is not dependent on the fact that the function is in the

library rather than being user-defined. If a user-defined function is

contained in a module that is compiled without /Zi for the CodeView

information and you try to invoke it with the "?" command, CodeView

will return the same error message.

The "?" command is formally referred to in the CodeView Utilities menu

as the Display Expression command.

Additional reference words: 2.2 2.20 2.30 2.30 2.35 3.0 3.00 3.1 3.10

3.11 3.12 3.14 3.5 3.50