public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* egcs function overload error/bug
@ 1999-01-20 13:35 gilley
  1999-01-20 18:14 ` Alexandre Oliva
  0 siblings, 1 reply; 2+ messages in thread
From: gilley @ 1999-01-20 13:35 UTC (permalink / raw)
  To: egcs-bugs

code and details attached


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: egcs function overload error/bug
  1999-01-20 13:35 egcs function overload error/bug gilley
@ 1999-01-20 18:14 ` Alexandre Oliva
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 1999-01-20 18:14 UTC (permalink / raw)
  To: gilley; +Cc: egcs-bugs

On Jan 20, 1999, gilley <gilley@netunlimited.net> wrote:

> Note: yes, you could say 1.0f or (float)1.0, but this still
>       seems to be something that should be fixed.
 
Nope, the call is ambiguous.  In terms of overload resolution,
converting a double to float is no better than converting it to int.

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-01-20 18:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-01-20 13:35 egcs function overload error/bug gilley
1999-01-20 18:14 ` Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).