[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1/6] xen/build: Allow the use of C freestanding headers
>>> On 13.07.16 at 17:17, <tim@xxxxxxx> wrote: > At 14:46 +0100 on 13 Jul (1468421211), Andrew Cooper wrote: >> We cannot expect to use -Wformat and not the compiler provided >> inttypes.h. > > Since we're not using the compiler-provided printf(), I think that > we're on pretty thin ice with -Wformat anyway. Why? As long as we don't assign non-standard meaning to standard format specifiers, I think we ought to be fine. After all libc's sprintf() isn't compiler provided either (it's not even in the same package, not to speak of there being various alternatives to glibc). > But as long as our > own PRI* macros match our type definitions, all should be well, right? I think so. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |