Closed Erol-2022 closed 9 months ago
Hi Erol,
I reported this back in 2021 (now deleted) so I assumed the SDK was updated. As one of the key features in Asmc is to span lines within brackets, a missing end bracket may have this consequence.
There was also a tool added for this purpose to detect sloppy code (as Masm doesn't really care).
I downloaded the SDK from here. There may be newer ones but when I run the tool on winextra.inc
it report the following:
C:\masm32\include\winextra.inc(1684)
The line:
IS_VALIDSTATEBITS equ (IS_NORMAL or IS_SPLIT or IS_FULLSCREEN or 80000000h or 40000000h
So what happens here is that lines are added from this point (1684) until the end of the IFDEF statement before the error is reported.
In the latest version of Asmc the dynamic line size code is optimized to consume larger data arrays, limited only by available memory.
Hi Nidud,
Many thanks for your support. Adding the missing parenthesis is solving the problem :
IS_VALIDSTATEBITS equ (IS_NORMAL or IS_SPLIT or IS_FULLSCREEN or 80000000h or 40000000h)
Hi Nidud,
Thanks for maintaining Asmc. Testing the latest release with the include files coming with the Masm32 SDK :
G:\asmc-master>bin\asmc.exe /Zi /Zf /Zd Test.asm
The empty line in winextra.inc is the offending one :
The error message is reported in the Masm Forum.