On Sat, Feb 18, 2012 at 7:08 AM, Vincent Torri <[email protected]> wrote: > On Sat, Feb 18, 2012 at 1:40 AM, JonY <[email protected]> wrote: >> On 2/18/2012 07:45, Vincent Torri wrote: >>> hey >>> >>> i have that code in a header file : >>> >>> static __forceinline __m128i mul_256_sse3(__m128i a, __m128i c) { *** } >>> >>> and gcc (4.7) complains with the error "error: multiple storage >>> classes in declaration specifiers" >>> >>> does someone know why ? >>> >>> thank you >>> >>> Vincent Torri >> >> >> __forceinline is defined to >> >> extern __inline__ __attribute__((__always_inline__,__gnu_inline__)) >> >> static and extern don't play well together. > > haa, ok :) Btw, do you know if there will be the same problem with vc++ ? > > thank you > > Vincent Torri
I asked because i saw plenty of code with google using "static __forceinline", and i don't see anything about the use of __forceinline and static in MSDN (http://msdn.microsoft.com/fr-fr/library/z8y1yy88.aspx) Vincent Torri ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
