Web lists-archives.com

Re: FILE_NAME_INFO struct in 'glib/gmessages.c'




On 16/09/2017 02:41, Chun-wei Fan (范君維) wrote:

John Emmas 於 2017/9/16 上午 03:00 寫道:

I'm assuming you're referring to this SDK?

Yes, this is the SDK I was mentioning. It does work for Visual Studio 2005, see https://msdn.microsoft.com/en-us/windowsserver/bb986638.aspx under "Supported Compiler, Platform and related software".


Thanks Fanc (I'm never quite sure what to call you !)

For Windows programming, I've always been wary of trying to "mix-and-match" between different MSVC libraries (regardless of that Microsoft says!). So how about this for a compromise...

If the idea is to drop support for Win-XP (and yet retain support for VS2005) we could achieve it with some quite simple changes. Only 2 or 3 files would need to get changed and it's mostly just stuff like this...

wherever we currently use this:-

        #if _WIN32_WINNT < 0x0600

we'd change it to this:-

#if (_WIN32_WINNT < 0x0600 || (defined(_MSC_VER) && _MSC_VER < 1500))

I'd be happy to produce a full patch if you like. I've already tried it here with VS2005 and glib is now building fine again. Best regards,

John
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-devel-list