flat assembler
Message board for the users of flat assembler.

Index > Main > Fasm show warning symbol already define But not show wear is

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 1608
Roman 04 Nov 2016, 15:56
How i know wear is already define symbol ?

Its not simple when i using many files\includes in my program.

And i want know wear is (in file) exist already defined symbol.
Or how get num line in code ?
Post 04 Nov 2016, 15:56
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8250
Location: Kraków, Poland
Tomasz Grysztar 04 Nov 2016, 16:48
A quick hack that allows to find out: put the definition of such named symbol in the first line of source. Then the assembler is going to show you the error on a next definition, which was previously the first one.

Also, if I recall correctly, Fresh has a feature of going to the definition of symbol on demand. Or you could use the "symbols" .fas converter that comes with fasm in "tools" directory.

Not that I consider it needless to have more information in the original error message, but cases like this were never a priority to me.
Post 04 Nov 2016, 16:48
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1608
Roman 04 Nov 2016, 18:04
I use NotePad++
Find in files !
Very helpful.
Post 04 Nov 2016, 18:04
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-2023, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.