Re: ver 4.0 builtin_chosen_warning ???

new topic     » goto parent     » topic index » view thread      » older message » newer message
bernie said...
DerekParnell said...
bernie said...

 
Warning ( builtin_chosen_warning ): 
        built-in compare() chosen over global/export function in: D:\#EU40\INCLUDE\std/map.e 
 
 

It means that your program uses 'compare()' somewhere, and this is just letting you know that your program is calling the built-in compare() rather than the one inside map.e.

I think that the warning message is worded so that it will confuse new users. 
 

I've reported about find() in std/regex.e too, I think some are missing that the message, is pointing at a use of compare() in std/map.e and is obviously worded wrong, because if it had replaced find in regex.e or compare in map.e the unittests would fail.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu