Re: uic
Nfiedler@aol.com
Sat, 8 Mar 1997 12:30:05 -0500 (EST)
In a message dated 97-03-08 00:31:55 EST, edwdig@bergen.org (Edward Di
Geronimo Jr.) writes:
> Assembly question. When using writing your UI in Espire, when it gives the
> line number of an error, I doesn't just count the lines from the file you
> are compiling, but also the lines in all the files you include, i.e.
>
> stupid.uih
> ----------
> 1: #include "generic.uih" /* About 1200 lines */
> 2: stupid line with an error
>
> UIC will say you have an error on line 1202.
>
> Being that generic.uih is more like 1183 or something like that lines, it
> isn't that easy to just subtract the lines from the error number,
especially
> not if you include other files, and if you make a uih file it makes things
> worse. Still worse is UIC uses direct screen writes, so you can't redirect
> the output. I have to hit the pause key and multitask to try to find the
> errors, and it's really hard.
>
> So, I have two questions:
> 1) Can I have UIC do line number like when you program in C? I tried
using,
> #line but it didn't do anything.
Hmm, don't know. I don't use UIC at all.
> 2) Is there any way to redirect the output of UIC
Its output goes to stderr instead of stdout. You can't redirect it.
> Trying to port about 800 lines of GOC UI code, and I've got about 80
errors,
> and it's impossible to find them.
Nathan