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

Build on Cygwin fails due to missing vasprintf #50

Closed
yugr opened this issue Jul 26, 2016 · 1 comment
Closed

Build on Cygwin fails due to missing vasprintf #50

yugr opened this issue Jul 26, 2016 · 1 comment

Comments

@yugr
Copy link
Contributor

yugr commented Jul 26, 2016

Hi,

At least on Cygwin vasprintf declarations in stdio.h are protected by _GNU_SOURCE so this needs to be added in appropriate places. Attached patch adds the definition it in relevant source files, similar to what's already done for iceprog.cc.

0001-Explicitly-ask-for-vasprintf-where-appropriate.patch.txt

@cliffordwolf
Copy link
Collaborator

Applied in 8a7a746 and improved in 12b2295.

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

No branches or pull requests

2 participants