Re: Compiling VB6 programs

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




Most languages, including VB.Net, continue syntax checking even after the
first error. That way you can fix a bunch of errors at the same time. By
the way, the background compiler in VB 2005 (.Net 2.0) will display the
first 100 compilation errors as you edit, allowing you to go fix them
without waiting for a compile. The only reason that VB 6 doesn't continue
with the compile was simply laziness on the part of the VB 6 compiler
writers. It's easier to stop the compile on the first error.

Mike Ober.

"Rick Rothstein" <rickNOSPAMnews@xxxxxxxxxxxxxxxxx> wrote in message
news:O1qrEo8hFHA.3064@xxxxxxxxxxxxxxxxxxxxxxx
> > > > I've not tested, but what does the command line /make option do on
> > > > error?
> > >
> > > It stops on the first error and shows a messagebox before quitting.
> >
> > That sucks... :)
>
> Wouldn't it always have to stop of the first error it comes across?
> Unless you are expecting it to be nothing more than a syntax checker
> (which I guess Microsoft could have provided as an option), it tries to
> compile the code and finds something it doesn't know how to compile
> around... what would you expect it to do from here? It pretty much
> doesn't know how to continue past the error it found, how could it skip
> over that and look for another error?
>
> Rick
>
>



.



Relevant Pages

  • Re: Compiling VB6 programs
    ... >> Wouldn't it always have to stop of the first error it comes across? ... >> compile the code and finds something it doesn't know how to compile ... > info. Fix one line and it all goes away. ... get through the compile time error listing a lot faster than stop on first ...
    (microsoft.public.vb.general.discussion)
  • Re: vb 6.0 build error. error while creating an executable
    ... before the Out of Memory error. ... You probably need to fix the first error ... Check the task manager during a compile, is it using all the available ...
    (microsoft.public.vb.bugs)
  • Re: Compiling VB6 programs
    ... >>> It stops on the first error and shows a messagebox before quitting. ... >> That sucks... ... > compile the code and finds something it doesn't know how to compile ...
    (microsoft.public.vb.general.discussion)
  • Re: Visual C++.net
    ... It cannot compile the old ATL from VC6. ... first error I get: ...
    (microsoft.public.vc.language)
  • glibc-2.3.2 att Work
    ... Fix it, if you want to ... compile it through. ... The first error is ... intrivia justam. ...
    (comp.os.linux.misc)