[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



On Fri, 2008-01-04 at 00:09 -0700, Tom Tromey wrote:
> >>>>> "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

I'll be damned. Thanks very much.

-- 
Braden McDaniel                           e-mail: <braden endoframe com>
<http://endoframe.com>                    Jabber: <braden jabber org>



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