Re: [Mingw-w64-public] Strange behavior of snwprintf() function

2012-07-10 Thread Rafaël Carré
Hello, Le 2012-07-04 17:46, niXman a écrit : > The following code gives the right result when compiled without Which right result exactly ? My reading of MSDN suggests a negative return value. > defined __USE_MINGW_ANSI_STDIO macro. > But, if __USE_MINGW_ANSI_STDIO macro is defined - the result

[Mingw-w64-public] #include causes formatting problems with PRId64

2012-07-10 Thread Simson Garfinkel
When I #include with mingw64-g++ the PRId64 value is no longer interpreted correctly. Here is the test program: #define __STDC_FORMAT_MACROS #include #include #include #include #include #include int main(int argc,char **argv) { uint64_t val=1234567890; printf("%"PRId64"\n",val);

Re: [Mingw-w64-public] [ANNOUNCEMENT] mingw-w64-headers build behavior changes in trunk (v3)

2012-07-10 Thread NightStrike
On Mon, Jul 9, 2012 at 4:45 PM, Erik van Pienbroek wrote: > As package maintainer for the Fedora mingw-w64 packages I want to thank > you guys for this change! Because of this change we've been able to > remove various manual kludges from the build scripts which were needed > to move files manuall

[Mingw-w64-public] libgcc_s_sjlj-1.dll - pthreadGC2.dll not statically linked

2012-07-10 Thread Simson Garfinkel
> > Message: 7 > Date: Tue, 10 Jul 2012 22:24:01 +0800 > From: JonY > Subject: Re: [Mingw-w64-public] problem with static linking - > libgcc_s_sjlj-1.dll - pthreadGC2.dll not statically linked > To: mingw-w64-public@lists.sourceforge.net > Message-ID: <4ffc3b01.7040...@users.sourceforge.net

Re: [Mingw-w64-public] Strange behavior of snwprintf() function

2012-07-10 Thread niXman
2012/7/6 niXman: > 2012/7/5 niXman: >> 2012/7/4 xunxun: >> >> Thank you for reply. >> >>> Maybe someone can explain it here. >> >> Maybe... > > ping? ping? -- Regards, niXman ___ Dual-target(32 & 64 bit) MinGW compilers for 32 and 64 bit Windows:

[Mingw-w64-public] [patch] Add crtdefs.h to BASEHEAD_LIST

2012-07-10 Thread Corinna Vinschen
Hi, The checkin for revision 5161 from 2012-07-04 breaks installing only the required crt header files for a PSDK-only installation. excpt.h now includes crtdefs.h instead of windows.h. The below patch fixes BASEHEAD_LIST in configure.ac accordingly. Ok? Thanks, Corinna * configure.

Re: [Mingw-w64-public] problem with static linking - libgcc_s_sjlj-1.dll - pthreadGC2.dll not statically linked

2012-07-10 Thread JonY
> Erik, > > Thanks for adding it. When will it be in the main Fedora repository? > > I'm not really upon on all of the packaging things. Can you give me simple > instructions that I can provide to my users to tell them how to easily add > this? I tried the obvious "yum install" and it didn't

[Mingw-w64-public] problem with static linking - libgcc_s_sjlj-1.dll - pthreadGC2.dll not statically linked

2012-07-10 Thread Simson Garfinkel
> > > Message: 8 > Date: Mon, 09 Jul 2012 21:02:55 +0200 > From: Erik van Pienbroek > Subject: Re: [Mingw-w64-public] problem with static linking - > libgcc_s_sjlj-1.dll - pthreadGC2.dll not statically linked > To: mingw-w64-public@lists.sourceforge.net > Message-ID: <1341860575.674.4.came

Re: [Mingw-w64-public] problem with static linking - libgcc_s_sjlj-1.dll - pthreadGC2.dll not statically linked

2012-07-10 Thread Zouzou
On 09/07/12 17:16, Simson Garfinkel wrote: > x86_64-w64-mingw32-g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions --param=ssp-buffer-size=4 -Wno-format --static -static-libgcc > -static-libstdc++ -Wall -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wshadow > -Wwrite-strings -Wcast-align

Re: [Mingw-w64-public] Regression in latest trunk regarding __mingw_usemthread_dll

2012-07-10 Thread Ozkan Sezer
On Tue, Jul 10, 2012 at 9:45 AM, Ozkan Sezer wrote: > On Tue, Jul 10, 2012 at 8:36 AM, Erik van Pienbroek > wrote: >> Hi, >> >> A regression seems to have slipped in the latest trunk (between 20120705 >> and 20120709). One of the testcases which we're using to test the Fedora >> mingw-w64 toolcha