[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-libunistring] unistr.h (built from master) contains gnulib symb
From: |
Bruno Haible |
Subject: |
Re: [bug-libunistring] unistr.h (built from master) contains gnulib symbol _GL_ATTRIBUTE_MAYBE_UNUSED |
Date: |
Sun, 08 Aug 2021 17:21:44 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-210-generic; KDE/5.18.0; x86_64; ; ) |
Hi Tim,
> when building libunistring from git master, the compilation fails when
> including unistr.h:
>
> Step #13: In file included from psl.c:96:
> Step #13: /src/wget_deps/include/unistr.h:203:39: error: unknown type
> name '_GL_ATTRIBUTE_MAYBE_UNUSED'
> Step #13: const uint32_t *s,
> _GL_ATTRIBUTE_MAYBE_UNUSED size_t n)
> Step #13: ^
> Step #13: /src/wget_deps/include/unistr.h:203:73: error: expected ')'
> Step #13: const uint32_t *s,
> _GL_ATTRIBUTE_MAYBE_UNUSED size_t n)
> Step #13:
> ^
> Step #13: /src/wget_deps/include/unistr.h:202:19: note: to match this '('
> Step #13: u32_mbtouc_unsafe (ucs4_t *puc,
> Step #13: ^
> Step #13: /src/wget_deps/include/unistr.h:270:13: error: unknown type
> name '_GL_ATTRIBUTE_MAYBE_UNUSED'
> Step #13: _GL_ATTRIBUTE_MAYBE_UNUSED size_t n)
> Step #13: ^
> Step #13: /src/wget_deps/include/unistr.h:270:47: error: expected ')'
> Step #13: _GL_ATTRIBUTE_MAYBE_UNUSED size_t n)
> Step #13: ^
> Step #13: /src/wget_deps/include/unistr.h:269:12: note: to match this '('
> Step #13: u32_mbtouc (ucs4_t *puc, const uint32_t *s,
> Step #13: ^
> Step #13: 4 errors generated.
You say you are building libunistring, but from the file names it looks
like you have built libunistring successfully and are now building wget?
In other words, please give the steps to reproduce.
Also, have you followed these instructions from the HACKING file?
Each time you want to update the source, do not only "git pull". Instead do
git pull && ./gitsub.sh pull
./autogen.sh
Bruno