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

fix windows VC9 build #104

Merged
merged 1 commit into from Jun 6, 2012
Merged

fix windows VC9 build #104

merged 1 commit into from Jun 6, 2012

Conversation

cboos
Copy link
Contributor

@cboos cboos commented Jun 5, 2012

Hello there,

I'm experimenting with libgit2/pygit2 on Windows, using Visual Studio 9 2008 (i.e. VC9).

The first obstacle was a few compilation errors which could be easily fixed.
This corresponds to the present pull request.

The second thing was a linking error, but it was rather due to the way libgit2 was built, and with the following libgit2 change, pygit2 links fine.

The last thing I noticed were a few problems during the tests. One is known (#60), the others are crashes in test_repository.py (test_new_repo and test_write, both involve a repo.write operation). I'm currently investigating, if I find something I'll propose another fix.

Move variable declarations to the top of the functions.
@jdavid jdavid merged commit c4a1e2a into libgit2:master Jun 6, 2012
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.

None yet

3 participants