flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > Error Messages :idea: |
Author |
|
vid 04 Nov 2007, 13:14
well, FASMW version does show the problematic instruction, but command line versions doesn't. I agree this sucks...
|
|||
04 Nov 2007, 13:14 |
|
LocoDelAssembly 04 Nov 2007, 14:54
I think that fasm should be more specific at which thing it considers as undefined.
Tell me how much time takes you to fix the attached code. BTW, I use FASMW and even with it this code took me a lot of time to figure out what was wrong. [edit]Well, actually looking at it again looks very simple to know what is the problem but for some reason it was very hard for me at that time [/edit]
|
|||||||||||
04 Nov 2007, 14:54 |
|
vid 04 Nov 2007, 15:17
Loco: only problem I had was missing definition of MAX_PATH
|
|||
04 Nov 2007, 15:17 |
|
LocoDelAssembly 04 Nov 2007, 15:38
Nop, the problem is that it was defined twice. I remember now why it was hard to figure out
So, the good adition could be some warning, instead of just saying "undefined symbol", say "symbol out of reach" when it is defined but it can't be forward referenced. The fix in this particular code is just erasing MAX_PATH at this code fragment Code: include 'r0pc.inc' ; ------------------------------------------------------------------------------ MAX_PATH = 260; <- Kill this And will compile just fine because fasm package already defines that constant somewhere in the include files. |
|||
04 Nov 2007, 15:38 |
|
AsmER 04 Nov 2007, 15:45
hehe so it looks like its not only me who would like more specific informations on error lines.
Lets see if Tomasz will give it to us (but still, id rather like to see debug symbols support first there lol) anyways i still really appreciate all the work Tomasz put into fasm :] ..::FASM RuLeS::.. |
|||
04 Nov 2007, 15:45 |
|
vid 04 Nov 2007, 16:01
Quote: So, the good adition could be some warning, instead of just saying "undefined symbol", say "symbol out of reach" when it is defined but it can't be forward referenced. this is good idea. i think this could be easily patched in FASM. I will try to add it to my patched FASM version |
|||
04 Nov 2007, 16:01 |
|
AsmER 05 Dec 2007, 12:08
Wow, that didn't take you long, Tomasz. Thanks a lot
|
|||
05 Dec 2007, 12:08 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.