[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Merge glibc ieee128 ldbl redirect support into cdefs.h
From: |
Bruno Haible |
Subject: |
Re: [PATCH] Merge glibc ieee128 ldbl redirect support into cdefs.h |
Date: |
Mon, 04 Jan 2021 19:27:33 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-197-generic; KDE/5.18.0; x86_64; ; ) |
Paul E Murphy wrote:
> We ran into the following:
>
> In file included from
> /home/tuliom/opt/at-next-15.0-0-alpha/include/stdio.h:871,
> from ./stdio.h:43,
> from
> /home/tuliom/tmp/at-build-tray/at15.0-0-alpha.redhat-8_ppc64le_ppc64le/sources
> /gdb/gnulib/import/tempname.h:23,
> from
> /home/tuliom/tmp/at-build-tray/at15.0-0-alpha.redhat-8_ppc64le_ppc64le/sources
> /gdb/gnulib/import/tempname.c:20:
> /home/tuliom/opt/at-next-15.0-0-alpha/include/bits/stdio-ldbl.h: In
> function ‘__LDBL_REDIR1_DECL’:
> /home/tuliom/opt/at-next-15.0-0-alpha/include/bits/stdio-ldbl.h:36:1:
> error: expected declaration specifiers before ‘__LDBL_REDIR1_DECL’
> 36 | __LDBL_REDIR1_DECL (scanf, __isoc99_scanfieee128)
> | ^~~~~~~~~~~~~~~~~~
>
>
> The missing macro is provided by glibc's cdefs.h. Thus, the wrong
> cdefs.h was picked up.
The one from glibc is meant to be included when someone writes
#include <sys/cdefs.h>
The one from Gnulib is meant to be included when someone writes
#include <cdefs.h>
via
#include <libc-config.h>
If the wrong one was picked up, it sounds you have too many -I options
in your compilation commands.
Bruno
- Re: [PATCH] Merge glibc ieee128 ldbl redirect support into cdefs.h, Bruno Haible, 2021/01/01
- Re: [PATCH] Merge glibc ieee128 ldbl redirect support into cdefs.h, Paul E Murphy, 2021/01/04
- Re: [PATCH] Merge glibc ieee128 ldbl redirect support into cdefs.h,
Bruno Haible <=
- Re: [PATCH] Merge glibc ieee128 ldbl redirect support into cdefs.h, Paul E Murphy, 2021/01/04
- Re: [PATCH] Merge glibc ieee128 ldbl redirect support into cdefs.h, Bruno Haible, 2021/01/04
- Re: [PATCH] Merge glibc ieee128 ldbl redirect support into cdefs.h, Paul Eggert, 2021/01/04
- Re: [PATCH] Merge glibc ieee128 ldbl redirect support into cdefs.h, Bruno Haible, 2021/01/04
- Re: [PATCH] Merge glibc ieee128 ldbl redirect support into cdefs.h, Paul Eggert, 2021/01/04
- Re: [PATCH] Merge glibc ieee128 ldbl redirect support into cdefs.h, Bruno Haible, 2021/01/04
- Re: [PATCH] Merge glibc ieee128 ldbl redirect support into cdefs.h, Paul Eggert, 2021/01/05
- Re: [PATCH] Merge glibc ieee128 ldbl redirect support into cdefs.h, Paul E Murphy, 2021/01/05
- Re: [PATCH] Merge glibc ieee128 ldbl redirect support into cdefs.h, Bruno Haible, 2021/01/05
- Re: [PATCH] Merge glibc ieee128 ldbl redirect support into cdefs.h, Paul Eggert, 2021/01/06