flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > BUG?: EQU and virtual

Author
Thread Post new topic Reply to topic
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
This code crashes FASMW at least versions 1.62 and 1.63.3
Code:
format PE GUI 4.0
include 'win32a.inc'

  abcdefghij EQU
  virtual at esi
    abcdefghij PAINTSTRUCT
  end virtual    
Use exactly that code or rename "abcdefghij" with other name of the same length because it only crashes with a length of 10 chars.
Post 30 Jul 2005, 23:16
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7796
Location: Kraków, Poland
Tomasz Grysztar
Actually even after removing the "virtual" the bug was still showing. The problem was caused by combined mistakes in handling the "." symbol inside the structure and evaluating the symbolic constant in the name of structure. It's fixed in 1.63.4.
Post 31 Jul 2005, 08:27
View user's profile Send private message Visit poster's website Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
Thanks for the fix Very Happy
Post 31 Jul 2005, 14:43
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.