-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Code Generation Tools
-
CODEGEN-11576
-
-
default
The following shows an assembly file and a command to build it.
$ type file.asm
.cdecls C, LIST
%{
#define NAME 100
%}
.text
nop
$ cl2000 -al --strict_ansi file.asm
At end of source: error: a translation unit must contain at least one declaration
"file.asm", WARNING! at line 1: [E1000] error while processing C code in .cdecls
directive
.cdecls C, LIST
No Assembly Errors, 1 Assembly Warning
Inspect the listing file to see that the .cdecls directive has no effect.
If --strict_ansi is not used, the build works as expected.