Re: [Spice-devel] [PATCH win-agent 2/9] Revert Revert mingw: remove tMain use

2012-05-16 Thread Marc-André Lureau
On Sun, May 13, 2012 at 1:10 PM, Arnon Gilboa agil...@redhat.com wrote: breaks vs build Ok, then I made it conditionnal to __MINGW32__. -- Marc-André Lureau ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org

Re: [Spice-devel] [PATCH win-agent 2/9] Revert Revert mingw: remove tMain use

2012-05-13 Thread Arnon Gilboa
breaks vs build 1LIBCMT.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16 1Release\vdagent.exe : fatal error LNK1120: 1 unresolved externals we may patch vsproj || ifdef || add this line to vdagent.cpp: #pragma comment (linker, /ENTRY:mainCRTStartup) Marc-André Lureau

[Spice-devel] [PATCH win-agent 2/9] Revert Revert mingw: remove tMain use

2012-05-11 Thread Marc-André Lureau
This reverts commit 74af857e8e4a6240e9aac4a3d72aa0e5a443472b. --- vdagent/vdagent.cpp |2 +- vdservice/vdservice.cpp |6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp index 5cbe222..5ef0a18 100644 ---

Re: [Spice-devel] [PATCH win-agent 2/9] Revert Revert mingw: remove tMain use

2012-05-11 Thread Marc-André Lureau
Hi It fixes mingw build. I don't know how this affects the VS build. Can someone try? -- Marc-André Lureau ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel