|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] stubdom vtpm build failure in staging
On Thu, 2015-01-29 at 11:27 +0100, Olaf Hering wrote:
> On Thu, Jan 29, Olaf Hering wrote:
>
> > Looks like old gcc can not handle two typedefs?
>
> Yes, this fails already:
>
> typedef unsigned char BYTE;
> typedef unsigned char BYTE;
> void f(int *v) { *v *= *v; }
>
> t.c:2:23: error: redefinition of typedef 'BYTE'
> t.c:1:23: note: previous declaration of 'BYTE' was here
This compiles for me on Debian with gcc 4.7.2-5.
I'm honestly not sure what the C standard says about duplicate but
identical typedefs -- Ian?
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |