On Thu, Apr 2, 2009 at 09:05, Norman Palardy <[email protected]> wrote: > > This is not new - it's been this way for a very long time
Yes, this is a quite annoying misbehavior in the compiler for me, too. Caused me grief several times in the past. The ambiguity the compiler sees would not be necessary if the compiler would employ a smarter matching algo for numeric types, like this: If the argument if a int type, try to match with a int parameter of equal or bigger bit size. Otherwise look for a float parm type to match. And vice versa for float args. This may also be part of the problem I've documented here: http://www.tempel.org/REALbasicAnnoyances Gosh, I had offered Geoff several times to improve the compiler to fix these issues, even for free, but while he keeps saying he likes the idea, nothing ever moves forward :( How shall a company supplying a compiler survive in the long run without a dedicated compiler writer?? -- Thomas Tempelmann, http://www.tempel.org/ _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
