type checking in prototypes problem?
Alexandre Oliva
oliva@lsd.ic.unicamp.br
Fri Dec 31 20:54:00 GMT 1999
On Dec 22, 1999, Eric DeVolder <devolder@evsx.com> wrote:
> Wow, this really seems to defeat the benefits of type-checking for
> non-aggregate types.
This is needed for backward-compatibility with C. Moreover, you can
always wrap the non-aggregates within aggregates, to provide for
stronger type checking, at (close to) zero run-time cost.
> Is there a GCC switch to catch this?
I doubt it.
--
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