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] [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é