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

Re: [Xen-devel] [PATCH] pub-headers: reduce C99 dependencies



>>> On 28.09.16 at 15:31, <george.dunlap@xxxxxxxxxx> wrote:
> On 28/09/16 13:00, Jan Beulich wrote:
>> For consumers not using (fully) C99-aware compilers, limit the number
>> of places where tweaking of the headers would be necessary: Introduce
>> and use xen_mk_ullong(), allowing its helper macro to be overridden at
>> once.
> 
> I'm just curious: Did you actually run across someone who had an issue
> with this?

No. I just noticed in the context of
https://lists.xenproject.org/archives/html/xen-devel/2016-09/msg02913.html
that the problem is more widespread than just that patch.

> And for non-C99-aware compilers, what would people typically
> have to put instead to get a 64-bit ULL there?

Windows compilers typically support a UI64 suffix. Other
compilers might use yet something else.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.