http://llvm.org/bugs/show_bug.cgi?id=10155

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #5 from [email protected] 2011-06-21 12:40:15 CDT ---
This bug pointed me in the right direction:
http://llvm.org/bugs/show_bug.cgi?id=5960

I am contacting the mingw-w64 devs now to change their inline usage. This
wouldn't have been a problem at all I think if Clang identified itself as GCC
4.3.

The relevant line I changed in _mingw.h (starting at line 74):

#ifdef __cplusplus
# define __CRT_INLINE inline
#elif defined(_MSC_VER)
# define __CRT_INLINE __inline
#else
# if ( __MINGW_GNUC_PREREQ(4, 3)  &&  __STDC_VERSION__ >= 199901L) ||
(defined(__clang__))
#  define __CRT_INLINE extern inline __attribute__((__gnu_inline__))
# else

Mind you: the proposed change will soon be integrated in mingw-w64, but that
does not mean mingw.org will pick up on this...

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to