Re: Masm32 error line number limit



On Apr 24, 3:26 am, spamt...@xxxxxxxxxx (Gerard Bok) wrote:
On 23 Apr 2007 16:30:36 -0700, "r...@xxxxxxxxxx"





<spamt...@xxxxxxxxxx> wrote:
On Apr 23, 1:10 pm, spamt...@xxxxxxxxxx (Gerard Bok) wrote:
On Mon, 23 Apr 2007 12:36:18 GMT, NoS...@xxxxxxxxxxx (Bob Masta)
wrote:

It appears that Masm32 error reports
(to console, anyway) are unable to show
source code line numbers higher than 65535.
I'm guessing this must be a holdover from 16-bit days.
Of course, I *could* insert all new (possibly buggy)
code earlier in the source <g>, but I'm wondering if
there is a way to enable longer line numbers.
I couldn't find any likely suspects in the command
line parameter list.

How about limiting your sources to (well below :-) 65.000 lines
and use the include statement ?

Works great unless your source code files are machine generated. I ran
into this very problem a few years back. It's pretty easy to exceed
the limit when making heavy use of macros in an HLA program of
relatively modest size, for example.

Sounds like you need to locate the guy who wrote HLA and get him
to include and include option :-)

I think you missed the fact that the code was machine-generated by
macros.
Fundamentally, trying to have those macros emit code to different
files wasn't practical.
hLater,
Randy Hyde

.



Relevant Pages

  • Re: Masm32 error line number limit
    ... I'm guessing this must be a holdover from 16-bit days. ... Works great unless your source code files are machine generated. ... I don't use macros, but I really like having the source ... Nowadays, with unlimited memory, it makes thing a lot ...
    (comp.lang.asm.x86)
  • Re: Masm32 error line number limit
    ... I'm guessing this must be a holdover from 16-bit days. ... Works great unless your source code files are machine generated. ... the limit when making heavy use of macros in an HLA program of ...
    (comp.lang.asm.x86)
  • Re: Data Type Converter
    ... >> in C is done with macros. ... Without such methods the source code ... My primary goal is a C to Delphi converter, ... But there exist no restrictions on the number of back-ends for that converter, ...
    (comp.lang.pascal.delphi.misc)
  • Re: Runtime macros
    ... Since other people have complained that macros in Common Lisp are already first class, I wonder what term they would like us to use for macros that may be passed around as functions may be and used in that way? ... use") the runtime constraints are never violated and I never ... But the minute somebody assigns to source code I have to throw out everything that depended on the constant-sourcecode constraint and fall back on the unoptimized versions. ... And, unfortunately, I haven't got any optimizations working ...
    (comp.lang.lisp)
  • Re: S-expr form of C
    ... representing C source code in s-expr form? ... for a more literal "representation" of C source in s-expr form, ... I actually generate it from CLOS objects, and have macros defined to build these CLOS objects from the corresponding S-exp. ...
    (comp.lang.lisp)

Loading