On 13/11/13 17:37, Marc Thevenet wrote:
Hi,

I've been having problems with dead key behavior under Windows since Vim v7.3 
(gVim only, the console version does not seem to be affected).
In insert mode, when I type ' followed by space, it's supposed to insert a ', 
but since 7.3 it just seems to add the ' to the buffer and does not insert it.

If I read the thread right, this is the same problem that was described there : 
https://groups.google.com/d/topic/vim_dev/uRgvH5dtAkM/discussion

Anyway, I researched the problem for a while, built vim myself, and got to the 
conclusion that the problem was related to a Microsoft compiler bug 
(http://connect.microsoft.com/VisualStudio/feedback/details/792598/msvc-10-11-compiler-optimizations-may-produce-incorrect-code
 ) where the compiler that ships with Visual Studio 2010 (cl.exe v16, if I 
recall correctly) can produce incorrect code when optimizing.
And, indeed, gVim behaves correctly when compiled without optimizations 
("OPTIMIZE=SPACE").

So I upgraded my compiler, and managed to build a working gVim with 
optimizations using the compiler shipped with Visual Studio Express 2013 
(cl.exe v18).

So my question is : are the official Windows releases of Vim built using cl.exe 
v16, and if so is it possible to upgrade the compiler ?
I'm fine with building Vim myself, but shipping an official version without the 
dead keys problem would be nice too :)


There is a distribution for Windows, "unofficial" but built from official sources and updated more or less regularly, unlike the official release which is only built once per major/minor version. This "unofficial" Vim distribution is available at http://sourceforge.net/projects/cream/files/Vim/ — it is hosted on the Cream site but available separately: old-timers of this group have dubbed it "Vim without Cream". IIUC, it is compiled using a gcc compiler (from MinGW, I think) but can run "natively" under Windows. This of course means that it doesn't suffer from bugs peculiar to Microsoft Visual C/C++.


Best regards,
Tony.
--
Yes I have a Machintosh, please don't scream at me.
                -- Larry Blumette on linux-kernel

--
--
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