On Mon, Jan 11, 2016 at 12:30 AM, Yukihiro Nakadaira <
yukihiro.nakada...@gmail.com> wrote:

> On Sun, Jan 10, 2016 at 8:06 PM, Mike Williams <
> mike.willi...@globalgraphics.com> wrote:
>
>> Hi
>>
>> On 13/12/2015 14:27, Mike Williams wrote:
>>
>>> Hi,
>>>
>>> GVimEXT fails to build for me with VS2015, a large number of undefined
>>> symbols from the Windows headers when compiling.  The Makefile is
>>> missing some symbols defined that Win32.mak needs to set up the build
>>> environment correctly.
>>>
>>
>> Tweaked to be more consistent with the main msvc makefile.
>>
>> diff --git a/src/GvimExt/Makefile b/src/GvimExt/Makefile
>> --- a/src/GvimExt/Makefile
>> +++ b/src/GvimExt/Makefile
>> @@ -12,6 +12,24 @@ APPVER=5.0
>>  NODEBUG = 1
>>  !endif
>>
>> +TARGETOS = BOTH
>> +
>> +!ifdef PROCESSOR_ARCHITECTURE
>> +# On Windows NT
>> +! ifndef CPU
>> +CPU = i386
>> +!  ifdef PLATFORM
>> +!   if ("$(PLATFORM)" == "x64") || ("$(PLATFORM)" == "X64")
>> +CPU = AMD64
>> +!   elseif ("$(PLATFORM)" != "x86") && ("$(PLATFORM)" != "X86")
>> +!    error *** ERROR Unknown target platform "$(PLATFORM)". Make aborted.
>> +!   endif
>> +!  endif
>> +! endif
>> +!else
>> +CPU = i386
>> +!endif
>> +
>>
>> Anyone got any problems with GVimExt with this patch?
>>
>
> I can not reproduce the problem with VS2015 and Windows10 and Win32.Mak
> copied
> from Windows SDK 7.1.
>

Perhaps the patch is needed for cross compile?

With "VS2015 X64 X86 Cross Tool" and "VS2015 X86 X64 Cross Tool", I got many
errors for compiling GvimExt.  And it was fixed by your patch.  Generated
binary seems correct (I just checked dll header with "dumpbin /headers
gvimext.dll").

-- 
Yukihiro Nakadaira - yukihiro.nakada...@gmail.com

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui