Bug#882255: libc6-dev: #define _SC_PAGESIZE _SC_PAGESIZE in /usr/include/x86_64-linux-gnu/bits/confname.h

2018-12-20 Thread Aurelien Jarno
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
aurel...@aurel32.net http://www.aurel32.net



Processed: Re: Bug#882255: libc6-dev: #define _SC_PAGESIZE _SC_PAGESIZE in /usr/include/x86_64-linux-gnu/bits/confname.h

2018-12-20 Thread Debian Bug Tracking System
Processing control commands:

> notfound -1 glibc/2.28-2
Bug #882255 {Done: Aurelien Jarno } [libc6-amd64] 
libc6-amd64: Multilib causes catastrophic system failure during upgrade to libc 
2.25
No longer marked as found in versions glibc/2.28-2.

-- 
882255: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882255
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#882255: libc6-dev: #define _SC_PAGESIZE _SC_PAGESIZE in /usr/include/x86_64-linux-gnu/bits/confname.h

2018-12-20 Thread Florin Iucha
Package: libc6-dev
Version: 2.28-2
Followup-For: Bug #882255

Dear Maintainer,

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.

florin

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libc6-dev depends on:
ii  libc-dev-bin2.28-2
ii  libc6   2.28-2
ii  linux-libc-dev  4.18.20-2

libc6-dev recommends no packages.

Versions of packages libc6-dev suggests:
pn  glibc-doc 
ii  manpages-dev  4.16-1

-- no debconf information