This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: type checking in prototypes problem?


Wow, this really seems to defeat the benefits of type-checking for
non-aggregate types. Is there a GCC switch to catch this?

Eric

Alexandre Oliva wrote:

> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]