Skip to content

Conversation

@linquize
Copy link
Contributor

Fix broken build when MSVC SDL checks is enabled
Mostly initialize local variables.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SDL and DEBUG?

I don't understand the rationale here.

We made a pass to make sure SDL passed (though we did not apply banned.h because, of course, some people run SDL on the binaries they ship. But it doesn't make sense to me to make the DEBUG version SDL compliant. Are you shipping debug DLLs? Are you running SDL on as part of your CI build (and building debug DLLs)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not checking the binaries. I compile from source directly. I am not using CMake, but dragging all the .c into a .vcxproj to compile. SDL is turned on in that .vcxproj

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My question is: you're using SDL on debug builds?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, SDL, debug build, win32

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm gonna pass on this change to regcomp, since it's in debug-only code. Can you drop it so I can merge the other fixes? Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes to regcomp has been dropped.

@vmg
Copy link
Member

vmg commented May 11, 2013

Thank you!

vmg pushed a commit that referenced this pull request May 11, 2013
Fix broken build when MSVC SDL checks is enabled
@vmg vmg merged commit 7b5bc8f into libgit2:development May 11, 2013
@linquize linquize deleted the msvc-sdl branch May 11, 2013 12:16
@linquize
Copy link
Contributor Author

BTW, where to make changes to regcomp.c?

phatblat pushed a commit to phatblat/libgit2 that referenced this pull request Sep 13, 2014
Fix broken build when MSVC SDL checks is enabled
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.

3 participants