qemu-s390x
[Top][All Lists]
Advanced

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

Re: [RFC 0/3] Getting rid of "uint" and friends


From: Daniel P . Berrangé
Subject: Re: [RFC 0/3] Getting rid of "uint" and friends
Date: Wed, 10 May 2023 16:11:50 +0100
User-agent: Mutt/2.2.9 (2022-11-12)

On Wed, May 10, 2023 at 04:39:22PM +0200, Juan Quintela wrote:
> It cames from (this is Fedora38 x86_64, but I guess modern linux are similar):
> 
> /usr/include/system/types.h
> 
> ...
> 
> /* Old compatibility names for C types.  */
> typedef unsigned long int ulong;
> typedef unsigned short int ushort;
> typedef unsigned int uint;
> 
> So I decided to get rid of them.  And searching through the tree I found:
> - that I had already have had this problem in the past

snip

> (*): No, I have no clue either why/where/how __USE_MISC got defined.

It is a result of _GNU_SOURCE=1, which activates more or
less "everything" that GLibC exposes


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]