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

Cast windows HANDLE to intptr_t, not long #727

Closed
wants to merge 2 commits into from
Closed

Cast windows HANDLE to intptr_t, not long #727

wants to merge 2 commits into from

Conversation

zhekov
Copy link
Member

@zhekov zhekov commented Nov 1, 2015

The cast in g_warning is not fixed. It's unimportant, displaying a
handle value does not provide any meaningful information anyway.

The cast in g_warning is not fixed. It's unimportant, displaying a
handle value does not provide any meaningful information anyway.
@b4n
Copy link
Member

b4n commented Nov 1, 2015

Looks like mingw doesn't like the extra () around the cast.

Otherwise LGTM

@zhekov
Copy link
Member Author

zhekov commented Nov 1, 2015

And (( )) are not required either, they are simply a syntax error, since I changed the branch in the last moment...

@zhekov
Copy link
Member Author

zhekov commented Nov 2, 2015

The last check, GTK3=yes MINGW=yes, failed with:

curl -L -# http://win32builder.gnome.org/gtk+-bundle_3.8.2-20131001_win32.zip
curl: (7) couldn't connect to host

I had problems with http://ftp.gnome.org earlier today.

@elextr
Copy link
Member

elextr commented Nov 2, 2015

NOTE: the GTK for windows page says "The preferred way to obtain GTK+ and its dependencies in binary form for Windows is to use the MSYS2 project." Perhaps we should do that.

@zhekov
Copy link
Member Author

zhekov commented Nov 3, 2015

msys2 has no "gtk+ bundle". You need to fetch the base msys2, so that at least bash and pacman will work, and then install gtk+ 32/64 with pacman, which will in turn install all dependencies, and execute their pre/post install scripts. I'm not sure we can package "geany with gtk+" using msys2. It's possible in theory, but practically...

@b4n b4n closed this in 23323f5 Nov 3, 2015
@b4n
Copy link
Member

b4n commented Nov 3, 2015

NVM the second failure, one succeeded that's alright. and i tried it locally cross-building and it's fine too :)
Anyway, committed a (manual) merge of the 2 patches. Thanks!

@b4n b4n added this to the 1.26 milestone Nov 3, 2015
@zhekov zhekov deleted the fix-handle-casting branch November 4, 2015 17:46
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