Message board for the users of flat assembler.
> Compiler Internals > not a bug, but ...
Fasm has no include cycle dectection, thus if such a cycle exists, you
will probably always run out of memory.
Unfortunately it is not possible to conditionally include files, since the
preprocessor doesn't evaluate such conditionals. So if you write
_WINDOWS_INC_ equ 1
IF NOT DEFINED _WINDOWS_INC_
the preprocessor would include the file despite the false condition.
This seems to be a waste of memory and time since at the stage of
evaluation of this conditional expression, the evaluator has to find
the dangling END IF and therefore has to process the hole "incfile.inc"
|03 Jun 2005, 12:24||
|03 Jun 2005, 12:32||
< Last Thread | Next Thread >
Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.
Website powered by rwasa.