Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define _GNU_SOURCE for a declaration of vasprintf #237

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fweimer-rh
Copy link

This is necessary to build with compilers which do not support implicit function declarations (a language feature that was removed from C99).

Defining GNU_SOURCE during the build exposes that the imported util-linux sources are not built with some HAVE* macros defined, for things that the glibc headers provide with GNU_SOURCE. These HAVE* macros need to be defined as well.

Related to:

This is necessary to build with compilers which do not support
implicit function declarations (a language feature that was removed
from C99).

Defining _GNU_SOURCE during the build exposes that the imported
util-linux sources are not built with some HAVE_* macros defined,
for things that the glibc headers provide with _GNU_SOURCE.  These
HAVE_* macros need to be defined as well.
@github-actions
Copy link

CLA Assistant Lite bot:

如果你是以企业贡献者的身份进行提交,请联系我们签署企业贡献者许可协议
If you submit as corporate contributor, please contact us to sign our Corporate Contributor License Agreement

感谢您的提交,我们非常感谢。 像许多开源项目一样,在接受您的贡献之前,我们要求您签署我们的个人贡献者许可协议。 您只需发布与以下格式相同的评论即可签署个人贡献者许可协议
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Individual Contributor License Agreement before we can accept your contribution. You can sign the Individual Contributor License Agreement by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA.

You can retrigger this bot by commenting recheck in this Pull Request

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Dec 22, 2023

TAG Bot

New tag: 6.0.10
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #302

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Jan 10, 2024

TAG Bot

New tag: 6.0.11
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #305

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Jan 17, 2024

TAG Bot

New tag: 6.0.12
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #307

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Jan 23, 2024

TAG Bot

New tag: 5.9.39
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #309

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Jan 25, 2024

TAG Bot

New tag: 5.9.40
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #310

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Feb 21, 2024

TAG Bot

New tag: 6.0.13
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #318

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Feb 27, 2024

TAG Bot

New tag: 6.0.14
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #321

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Mar 1, 2024

TAG Bot

New tag: 6.0.15
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #322

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Mar 13, 2024

TAG Bot

New tag: 6.0.16
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #324

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Mar 27, 2024

TAG Bot

New tag: 6.0.17
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #328

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Apr 10, 2024

TAG Bot

New tag: 6.0.18
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #330

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Apr 30, 2024

TAG Bot

New tag: 6.0.19
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #340

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Jul 10, 2024

TAG Bot

New tag: 6.0.21
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #353

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Jul 30, 2024

TAG Bot

New tag: 6.0.23
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #361

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Aug 21, 2024

TAG Bot

New tag: 6.5.0
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #364

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Sep 13, 2024

TAG Bot

New tag: 6.5.1
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #366

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Sep 27, 2024

TAG Bot

New tag: 6.5.2
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #372

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Nov 7, 2024

TAG Bot

New tag: 6.5.3
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #375

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Nov 30, 2024

TAG Bot

New tag: 6.5.4
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #380

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant