flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > Bug: when macro name matches the import name...

Author
Thread Post new topic Reply to topic
AsmGuru62



Joined: 28 Jan 2004
Posts: 1408
Location: Toronto, Canada
AsmGuru62
Hi,

I have following includes in my code:
Code:
    include 'Win32W.Inc'
    include 'Macros.Inc'
    

If I define a macro matching the imported name (in my case it was CopyRect macro - and there is a CopyRect Win API entry) - FASM gives an error, and it shows the error line within the 'import' macro definition (file import32.inc in FASM package). It would have been better if FASM simply would say that macro named <name> matching an import entry. Or, maybe: "<name> - identifier already defined."
Post 09 Mar 2011, 15:05
View user's profile Send private message Send e-mail 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.

Powered by rwasa.