This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] all: #define wordsize-related macros everywhere


On 07/11/2016 05:50 PM, Andreas Schwab wrote:
Yury Norov <ynorov@caviumnetworks.com> writes:

Yes they are meaningless. But that's what Joseph wants: don't use
#ifdef, but just #if instead. If so, to be consistent we should define
it even if it is useless. We cannot predict how they will be used in
future, and if not defined they may cause build fail. Or I missed something?

If __WORDSIZE32_* is used when __WORDSIZE == 64 we have a bug.

Agreed, it's perfectly reasonable to fail compilation under these circumstances.

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]