News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Goasm 52.3 beta problem?

Started by bushpilot, April 20, 2005, 12:15:27 PM

Previous topic - Next topic

bushpilot

Hi Jeremy, Donkey, and others,

I have been gone a while, maybe soon I will have time to start programming again!  :toothy

Anyway, I tried 52.3 beta today, and found what may be a "new feature" that affects me, or may be a bug.

The following lines are in my code:

Line 73 +
Quoteconst_struct STRUCT
   value$ dss 256 dup 0
   name$ dss VAR_LEN dup 0
ENDS

(VAR_LEN is #defined in line 21, 'VAR_LEN = 64')

Line 1102
Quotecon const_struct

Using previous versions, this assembles fine, and runs as I would expect it to.

Using 52.3 I get the following message:


QuoteError!
Line 1102 of assembler source file (basm.asm):-
The structure or union was empty
  In the struct at Line 73 of assembler source file (basm.asm)

OBJ file not made
Compile Failure

Any thoughts?

Greg

jorgon

Hi Greg

Nice to see you back on the forum.

Thanks for mentioning this.  Sorry, I added a new error code and it was a little too energetic, showing an error if a switched data declaration was used within a STRUCT/UNION which had no other data declarations.

I've corrected this in GoAsm 0.52.4 beta which is available from here.

Jeremy
Author of the "Go" tools (GoAsm, GoLink, GoRC, GoBug)

bushpilot

#2
Thanks Jeremy.  It works as expected now.

Greg