[Mingw-w64-public] Confused by apparent conflicting swprintf declaration in swprintf.inl

2015-05-14 Thread Shaddy Baddah
Hi, I've been trying to use mingw-64 to build the eclipse native launcher (.exe). I encountered an issue around the indirect (via preprocessor defines) of swprintf. The eclipse code usage of swprintf suggested that the declaration should match this (from

Re: [Mingw-w64-public] [PATCH] add dxgidebug.idl

2015-05-14 Thread Jacek Caban
On 14/05/15 08:03, Steve Lhomme wrote: In general I find the whole process awkward. Wine should only add IDL definitions when the classes are supported. That's not true, it's fine to add declarations for not supported APIs to Wine. It's just the first step to support them. Jacek

Re: [Mingw-w64-public] how to use ld.gold as the linker?

2015-05-14 Thread Martin Mitáš
AFAIK, ld.gold is designed to output only ELF [1] binaries (and the specialization is what makes it superior to GNU ld when outputting ELF), while Windows use PE [2] binaries. So you cannot. [1] https://en.wikipedia.org/wiki/Executable_and_Linkable_Format [2]

Re: [Mingw-w64-public] Confused by apparent conflicting swprintf declaration in swprintf.inl

2015-05-14 Thread Pavel
On Fri, 2015-05-15 at 00:43 +1000, Shaddy Baddah wrote: Hi, I've been trying to use mingw-64 to build the eclipse native launcher (.exe). I encountered an issue around the indirect (via preprocessor defines) of swprintf. The eclipse code usage of swprintf suggested that the declaration

Re: [Mingw-w64-public] Confused by apparent conflicting swprintf declaration in swprintf.inl

2015-05-14 Thread Jacek Caban
On 05/14/15 16:43, Shaddy Baddah wrote: I've thrown a bit out there. So first thing is, it is not a bug/incorrect for the two different declarations to be in swprint.inl? Is the eclipse code wrong to use the first form, over the second? The code is C and not C++. No, it's not a bug.

[Mingw-w64-public] how to use ld.gold as the linker?

2015-05-14 Thread zhangxinghai
Hi,all My OS is xp sp3 I used the i686-4.9.2-release-posix-dwarf-rt_v4-rev2.7z build from site http://sourceforge.net/projects/mingw-w64 I write a helloworld.cpp program #includestdio.h #includeiostream int main() { int i1=1,i2=2; int sum = i1 + i2; printf(%d\n,sum); return 0; } when I use g++

Re: [Mingw-w64-public] [PATCH] add dxgidebug.idl

2015-05-14 Thread Steve Lhomme
On Wed, May 13, 2015 at 11:21 PM, Kai Tietz ktiet...@googlemail.com wrote: Hi, the same applies as for the other patch. Just one comment I see about this idl-file (it isn't necessary to attach generated header to patch). It seems to me that a lot of stuff is missing here. On quick