At 7:11 PM +0100 3/22/04, Leopold Toetsch wrote:
Sterling Hughes <[EMAIL PROTECTED]> wrote:

On Mar 22, 2004, at 11:42 AM, Leopold Toetsch wrote:

* end is now inserted in @MAIN if missing

perhaps this should be a compiler warning instead?

If both C<@MAIN> and C<end> are missing, we could compile a module. So sometimes you'll get a warning and sometimes not. Not good IMHO.

Yeah. And IMCC's really a low-level thing--if you get the code to it wrong, then you've got a busted compiler and are likely in lots of trouble as it is. (Not that it makes *writing* a compiler any easier, though...)


I think I'd as soon leave out this check by default, and enable it (and other compiler-writer-friendly operations) with a --picky option. That way we don't pay the cost normally, but it's there to be paid if we really need it. (Or enable it with a #define that's normally not defined, or something)
--
Dan


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to