[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



>>>>> "Braden" == Braden McDaniel <braden 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]