type checking in prototypes problem?

Alexandre Oliva oliva@lsd.ic.unicamp.br
Wed Dec 22 08:32:00 GMT 1999


On Dec 22, 1999, Eric DeVolder <devolder@evsx.com> wrote:

> In the code below, is the call to funcAA() from func() actually
> valid?

Yep.  There are implicit conversions from enums to integral types and
from integral types to floating-point types.

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them



More information about the Gcc-bugs mailing list