Re: ver 4.0 builtin_chosen_warning ???
- Posted by bernie Sep 06, 2008
- 969 views
Warning ( builtin_chosen_warning ):
built-in compare() chosen over global/export function in: D:\#EU40\INCLUDE\std/map.e
How about
Warning ( function built-in to interpreter chosen over exported function):
built-in compare() chosen over global/export function in: D:\#EU40\INCLUDE\std/map.e
Chris
The two line format is provided so that, if user wishes to suppress or re-enable the warning, s/he gets the exact string to use right on screen. This is why the name of the warning class is explicitly mentioned.
Your wording just says the same thing twice, or am I getting it wrong?
CChris
Hi
No, you're not wrong, I should have used the creole formatting (keep getting caught out by that) - it is as I suggest above in the quote. However the warning is more verbose, more English, and (perhaps) more comprehensible to the likes of me, who will no doubt come across these new warnings, and like Bernie, have little idea what they mean.
Chris
Why doesn't the message just say: Namespace Conflict: Program has declared compare() with the name as function in D:\#EU40\INCLUDE\std/map.e