[Mingw-w64-public] [PATCH] Alias wscanf C99 implementation

2011-11-03 Thread Rafaël Carré
* _mingw_print_push.h: Remove wscanf-defines. * _mingw_print_pop.h: Likewise. * stdio.h: Replace macro-wscanf override via alias. --- trunk/mingw-w64-headers/crt/_mingw_print_pop.h | 18 - trunk/mingw-w64-headers/crt/_mingw_print_push.h |7 -- trunk/mingw-w64-headers/crt/stdio.h

[Mingw-w64-public] [PATCH] * _mingw_print_push.h: Remove scanf-defines. * _mingw_print_pop.h: Likewise. * stdio.h: Replace macro-scanf override via alias.

2011-11-03 Thread Rafaël Carré
--- trunk/mingw-w64-headers/crt/_mingw_print_pop.h |9 -- trunk/mingw-w64-headers/crt/_mingw_print_push.h |6 -- trunk/mingw-w64-headers/crt/stdio.h | 102 +++ 3 files changed, 87 insertions(+), 30 deletions(-) diff --git a/trunk/mingw-w64-headers/crt/_mi

Re: [Mingw-w64-public] Problems with time.h

2011-11-03 Thread Ozkan Sezer
On Tue, Oct 25, 2011 at 9:51 AM, Prof Brian Ripley wrote: > I first noticed this in Ruben's 4.6.2 build, but the trunk has a > similar problem (if the winpthead library is installed). > > time.h ends > > #ifdef __cplusplus > } > #endif > > #pragma pack(pop) > > #include > > /* Adding timespec def

Re: [Mingw-w64-public] Macros for determine the mingw-w64-crt and winpthreads

2011-11-03 Thread niXman
Hi Kai. Thank you. niXman 2011/11/3 Kai Tietz : > 2011/11/3 niXman : >> I have correctly understood, what my patch won't be applied? > > No, I will apply your suggested patch (maybe in a slightly altered > way).  I simply didn't found time to apply it myself. > > Sorry for the delay, I will tak

Re: [Mingw-w64-public] [PATCH] Fix FORCEINLINE declaration

2011-11-03 Thread Ozkan Sezer
On Thu, Nov 3, 2011 at 6:34 PM, Kai Tietz wrote: > 2011/11/3 Rafaël Carré : >> Le Thu, 3 Nov 2011 17:36:18 +0200, >> Ozkan Sezer a écrit : >> >>> Hmm, ntdef.h is definitely left behind when rev. 4407 happened: >>> http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64?view=revision&revision=4407 >

Re: [Mingw-w64-public] Macros for determine the mingw-w64-crt and winpthreads

2011-11-03 Thread Kai Tietz
2011/11/3 niXman : > I have correctly understood, what my patch won't be applied? No, I will apply your suggested patch (maybe in a slightly altered way). I simply didn't found time to apply it myself. Sorry for the delay, I will take care about it tomorrow. Cheers, Kai ---

Re: [Mingw-w64-public] Macros for determine the mingw-w64-crt and winpthreads

2011-11-03 Thread niXman
I have correctly understood, what my patch won't be applied? -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Mingw-w64-public ma

Re: [Mingw-w64-public] [PATCH] Fix FORCEINLINE declaration

2011-11-03 Thread Kai Tietz
2011/11/3 Rafaël Carré : > Le Thu, 3 Nov 2011 17:36:18 +0200, > Ozkan Sezer a écrit : > >> Hmm, ntdef.h is definitely left behind when rev. 4407 happened: >> http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64?view=revision&revision=4407 >> >> I suggest applying that change to ntdef.h. Does that

Re: [Mingw-w64-public] [PATCH] Fix FORCEINLINE declaration

2011-11-03 Thread Rafaël Carré
Le Thu, 3 Nov 2011 17:36:18 +0200, Ozkan Sezer a écrit : > Hmm, ntdef.h is definitely left behind when rev. 4407 happened: > http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64?view=revision&revision=4407 > > I suggest applying that change to ntdef.h. Does that solve your > issues? Yes, go fo

Re: [Mingw-w64-public] [PATCH] Fix FORCEINLINE declaration

2011-11-03 Thread Ozkan Sezer
On Thu, Nov 3, 2011 at 5:31 PM, Ozkan Sezer wrote: > On Thu, Nov 3, 2011 at 5:25 PM, Rafaël Carré wrote: >> (discard previous FORCEINLINE patch) >> >> * _mingw.h: Move FORCEINLINE declaration ... >> * winnt.h : ... From here >> * ntdef.h : Remove duplicate FORCEINLINE declaration > > Moving PSDK/

Re: [Mingw-w64-public] [PATCH] Fix FORCEINLINE declaration

2011-11-03 Thread Ozkan Sezer
On Thu, Nov 3, 2011 at 5:25 PM, Rafaël Carré wrote: > (discard previous FORCEINLINE patch) > > * _mingw.h: Move FORCEINLINE declaration ... > * winnt.h : ... From here > * ntdef.h : Remove duplicate FORCEINLINE declaration Moving PSDK/DDK definitions to CRT-only headers is discouraged. If ntdef.h

[Mingw-w64-public] [PATCH] Fix FORCEINLINE declaration

2011-11-03 Thread Rafaël Carré
(discard previous FORCEINLINE patch) * _mingw.h: Move FORCEINLINE declaration ... * winnt.h : ... From here * ntdef.h : Remove duplicate FORCEINLINE declaration -- Rafaël Carré Index: mingw-w64-headers/include/winnt.h === --- mingw-

[Mingw-w64-public] [PATCH] Fix FORCEINLINE declaration

2011-11-03 Thread Rafaël Carré
* ntdef.h: Remove extern qualifier from FORCEINLINE define for GNUC This breaks static FORCEINLINE functions, for example in LAME 3.99: FORCEINLINE static float vec_max_c(const float * xr34, unsigned int bw) * winnt.h: Bring duplicate FORCEINLINE definition in sync with ntdef.h -- Rafaël Carré

[Mingw-w64-public] [PATCH] Alias C99 w*printf functions

2011-11-03 Thread Rafaël Carré
Rafaël Carré * _mingw_print_push.h: Remove wprintf-defines. * _mingw_print_pop.h: Likewise. * stdio.h: Replace macro-wprintf override via alias. * wchar.h: Likewise. -- Rafaël Carré Index: mingw-w64-headers/crt/_mingw_print_push.h ===

Re: [Mingw-w64-public] Issue in x264 - ffmpeg building and usage in different Windows versions

2011-11-03 Thread JonY
On 11/3/2011 13:04, Shiju Sasi wrote: > Hi I build my Windows 32 bit DLL on Vista machine. This DLL works in a > browser context to render Video using H264 video. I use x264 and ffmpeg > libraries. My deployment can be any Windows machine ( Vista, 7, XP etc) > > I configured x264 using > > ./conf

[Mingw-w64-public] Issue in x264 - ffmpeg building and usage in different Windows versions

2011-11-03 Thread Shiju Sasi
Hi I build my Windows 32 bit DLL on Vista machine. This DLL works in a browser context to render Video using H264 video. I use x264 and ffmpeg libraries. My deployment can be any Windows machine ( Vista, 7, XP etc) I configured x264 using ./configure --cross-prefix=i686-w64-mingw32- --enable-sh