Mass rebuild status with gcc-4.3.0-0.4 of rawhide-20071220

Tom Tromey tromey at redhat.com
Fri Jan 4 07:09:45 UTC 2008


>>>>> "Braden" == Braden McDaniel <braden at endoframe.com> writes:

Braden>         typedef void void_t;
Braden>         int f(void_t) { return 0; }
Braden>         int main() { f(); }

I think this is not valid C++ -- you can't use a typedef to void here.
See:

    http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_closed.html#18

and also the GCC PR:

    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9278

Tom




More information about the devel mailing list