4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Win64: A few compiler warnings. Problems with optimizer.
12 Solution: Use int instead of size_t. Disable the optimizer in one function.
14 Files: src/eval.c, src/spell.c
17 *** ../vim-7.1.033/src/eval.c Tue Jul 17 16:31:15 2007
18 --- src/eval.c Wed Jul 11 19:50:27 2007
26 if (redir_lval == NULL)
30 ! len = STRLEN(value); /* Append the entire string */
32 ! len = value_len; /* Append only "value_len" characters */
34 ! if (ga_grow(&redir_ga, (int)len) == OK)
36 mch_memmove((char *)redir_ga.ga_data + redir_ga.ga_len, value, len);
37 ! redir_ga.ga_len += (int)len;
47 if (redir_lval == NULL)
51 ! len = (int)STRLEN(value); /* Append the entire string */
53 ! len = value_len; /* Append only "value_len" characters */
55 ! if (ga_grow(&redir_ga, len) == OK)
57 mch_memmove((char *)redir_ga.ga_data + redir_ga.ga_len, value, len);
58 ! redir_ga.ga_len += len;
62 *** ../vim-7.1.033/src/spell.c Thu May 10 18:45:53 2007
63 --- src/spell.c Sat Jul 14 17:17:52 2007
66 # if (_MSC_VER <= 1200)
67 /* This line is required for VC6 without the service pack. Also see the
68 * matching #pragma below. */
69 ! /* # pragma optimize("", off) */
74 # if (_MSC_VER <= 1200)
75 /* This line is required for VC6 without the service pack. Also see the
76 * matching #pragma below. */
77 ! # pragma optimize("", off)
85 # if (_MSC_VER <= 1200)
86 ! /* # pragma optimize("", on) */
93 # if (_MSC_VER <= 1200)
94 ! # pragma optimize("", on)
98 *** ../vim-7.1.033/src/version.c Tue Jul 24 09:50:22 2007
99 --- src/version.c Tue Jul 24 09:47:17 2007
103 { /* Add new patch number below this line */
109 How To Keep A Healthy Level Of Insanity:
110 17. When the money comes out the ATM, scream "I won!, I won! 3rd
113 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
114 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
115 \\\ download, build and distribute -- http://www.A-A-P.org ///
116 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///