On Sun, Mar 10, 2013 at 10:20 PM, Clinton Jeffery <jeff...@cs.uidaho.edu>wrote:

> At link time, one would know if one had linked in an override of a
> built-in function, but you are right that at compile time, one doesn't know
> for sure so my suggestion was a warning. For that matter, I would suggest a
> warning for your redefinition of move(), since other code that you have
> linked to might be in for a nasty surprise if you redefine a built-in
> function in an incompatible way.
>

I have ran into this myself before, where I had a redefined move()
somewhere in the code. It took me a while to figure that move() was not
doing what I think it does.

Maybe it is good to have -w option to force all warnings to show up, for a
quick sanity check before trying other options when hunting a bug!

--Jafar



> But perhaps not everyone would like me warning them of likely bugs, so
> either I should not add more of them, or perhaps I should make it easy to
> turn them on or off.
>
>
> On Sun, Mar 10, 2013 at 4:51 PM, Steve Wampler <swamp...@noao.edu> wrote:
>
>> On 03/10/2013 03:37 PM, Clinton Jeffery wrote:
>> > I think move(many()) is the type of thing that ought to trigger a
>> warning in the Unicon translator.   Now, if I can just
>> > remember it long enough to write it down on the helpwanted.html or the
>> secret todo.html that would be nice.
>>
>> How do you know what move() and many() are in the translator?
>>
>>     procedure move(n)
>>         suspend tab(n)
>>     end
>>
>> Just to be pedantic! :)
>> --
>> Steve Wampler -- swamp...@noao.edu
>> The gods that smiled on your birth are now laughing out loud.
>>
>>
>> ------------------------------------------------------------------------------
>> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
>> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
>> endpoint security space. For insight on selecting the right partner to
>> tackle endpoint security challenges, access the full report.
>> http://p.sf.net/sfu/symantec-dev2dev
>> _______________________________________________
>> Unicon-group mailing list
>> Unicon-group@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/unicon-group
>>
>
>
>
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> _______________________________________________
> Unicon-group mailing list
> Unicon-group@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/unicon-group
>
>
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to