Bug#882255: libc6-dev: #define _SC_PAGESIZE _SC_PAGESIZE in /usr/include/x86_64-linux-gnu/bits/confname.h
control: notfound -1 glibc/2.28-2
On 2018-12-20 09:55, Florin Iucha wrote:
> Package: libc6-dev
> Version: 2.28-2
> Followup-For: Bug #882255
Please do not reuse unrelated bug for reporting new ones.
> Trying to compile a personal project using Clang7 and maximum warning
> settings, it produced the following warning:
>
> error: disabled expansion of recursive macro
> [-Werror,-Wdisabled-macro-expansion]
>
> /usr/include/x86_64-linux-gnu/bits/confname.h:134:24: note: expanded
> from macro '_SC_PAGESIZE'
> #define _SC_PAGESIZE _SC_PAGESIZE
>
> I think the confname.h has that line as a result of a mis-merge. There's
> no point in defining X as X.
No this is not a merge issue and it is correct. It is there to define
_SC_PAGESIZE both as an enum value and a defined value that can be
tested with #ifdef.
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net
Reply to: