On Thu, 25 Mar 2010, Szak�ts Viktor wrote:

Hi,

> msvc 2008, msvc 2008 64-bit, old msvcarm (1201), darwin clang 
> and darwin gcc build cleanly.

Thank you very much.

BTW do you know _MSC_VER we can use to chose between __forceinline
and __inline?

WINE uses this:

   #ifndef FORCEINLINE
   # if defined(_MSC_VER) && (_MSC_VER >= 1200)
   #  define FORCEINLINE __forceinline
   # elif defined(__GNUC__) && ((__GNUC__ > 3) || \
                                ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 2)))
   #  define FORCEINLINE __attribute__((always_inline))
   # else
   #  define FORCEINLINE inline
   # endif
   #endif

so I'll probably use the same condition.
It does not use always_inline in GCC 3.1 maybe due some problems with
this GCC version so I'll also replicate it.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to