On 17/07/2013 16:56, Bram Moolenaar wrote:

Mike Williams wrote:

Attached is a first pass at a patch to fix various issues with the GVIM
Window on Windows when building with Visual Studio 2012.  I have tested
that VS2010 are still ok, but it needs testing with other Windows
compilers - VC6, 7, 8 and 9, Borland C, Mingw and so on.

I'm building the distributed executable with Visual C++ 2008.  The
resulting executable has the widest range of Windows versions where it
works.

If needed you can check the compiler version and/or the system version
at runtime.

I am not expecting any regressions with the patch - as Andre pointed out the system call has been around since the last century so they should all support it. I protected the local definition of the pp symbol for the new metric to cope with different build environments to get around any need for compilation or run-time checks. But it would still be nice for users of other Windows compilers to check for any unexpected consequences.

Mike
--
EXPERIENCE - experience is a wonderful thing. It enables you to recognise a mistake when you make it again.

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui