Re: What VMS does RIGHT!



John Santos wrote:

LOL!!!

Steven M. Schweda wrote:

From: John Santos <john@xxxxxxx>

John, you're probably the right person to suggest this to :-) ...

How about a compiler qualifier that limits the number of errors generated
before it aborts? E.G. /ERROR_LIMIT=<n>



You mean like:

CC

/ERROR_LIMIT

/ERROR_LIMIT[=number]
/NOERROR_LIMIT

Limits the number of Error-level diagnostic messages that are
acceptable during program compilation. Compilation terminates when
the limit (number) is exceeded. /NOERROR_LIMIT specifies that
there is no limit on error messages.

The default is /ERROR_LIMIT=30, which specifies that compilation
terminates after 31 error messages.

???


I looked at HELP BASIC before posting just to make sure I wasn't
missing something that had been implemented years ago, but didn't
bother to look at C!

Since my proposed syntax was exactly the same as what C actually
does, it was probably lurking in the back of my brain somewhere.
I'm sure I must have read the help at some point. :-) :-) :-)

<snip>

I think it's probably just familiarity with VMS/DCL "style". If you know VMS and want your compiler to be able to give up after a certain number of errors, /ERROR_LIMIT=N is the obvious way to do it. This is one of VMS's strong points; if you are looking for some capability, it's not too hard to guess what they called it!

Contrast it with Unix; if you want what awk does, you'll never guess what they called it and if you find the awk executable, you'll never guess what it does!

.



Relevant Pages

  • Re: What VMS does RIGHT!
    ... How about a compiler qualifier that limits the number of errors generated ... acceptable during program compilation. ... there is no limit on error messages. ... Hey, John Reagan! ...
    (comp.os.vms)
  • Re: int main(void) { return main(); }
    ... But all the limits in 5.2.4.1 are primarily translation-time limits; ... by blowing up during compilation. ... A required minimum number of nested function calls, on the other hand, ... would depend on the resources available during program execution. ...
    (comp.lang.c)
  • Re: What VMS does RIGHT!
    ... How about a compiler qualifier that limits the number of errors generated ... acceptable during program compilation. ... The default is /ERROR_LIMIT=30, which specifies that compilation ...
    (comp.os.vms)
  • Re: COMPILE, and POSTPONE tests
    ... specified in the standard text, but not every system implemented that. ... implemented correctly what the standard specifies; ... part of the semantics should be compiled; is it the interpret or the ... compilation> drop bar; ...
    (comp.lang.forth)
  • Re: gcc prototype oddity
    ... > Allin Cottrell wrote: ... > The compiler's error messages are correct. ... > compilation is used. ... Isn't line 2 a definition sans prototype? ...
    (comp.lang.c)