Re: What VMS does RIGHT!




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. :-) :-) :-)

It's probably way too late to claim independent discovery :-(

alp $ cc /version
HP C V7.1-015 on OpenVMS Alpha V7.3-2

So okay, let's start over....

Hey, John Reagan! How ya doin'? Could you please implement C's
"/ERROR_LIMIT" qualifier in other languages? Thanks in advance.




------------------------------------------------------------------------

Steven M. Schweda sms@antinode-org
382 South Warwick Street (+1) 651-699-9818
Saint Paul MN 55105-2547


--
John Santos
Evans Griffiths & Hart, Inc.
781-861-0670 ext 539
.



Relevant Pages

  • 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. ... there is no limit on error messages. ... The default is /ERROR_LIMIT=30, which specifies that compilation ...
    (comp.os.vms)
  • 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: Exchange Not receiving PPT attachment emails
    ... "Chad P." wrote: ... Also if the problem were size limits i would ... >> have an NDR message in my Event log. ... and i have no error messages. ...
    (microsoft.public.exchange.admin)
  • 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)