__CRT_INLINE and C++

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Mon Sep 7 16:41:00 GMT 2009


On Mon, Sep 07, 2009 at 05:28:30AM +0000, Sandeep Patel wrote:
>__CRT_INLINE is 'extern inline' for C, but just 'inline' for C++.
>
>This breaks recent MinGW builds of LLVM because the LLVM build checks
>it's built library dependencies for cycles. Cycles are introduced if
>the C++ compiler is free to define an out-of-line version of a
>function such as 'isalnum'.
>
>Is there a reason it's not 'extern inline' for C++? If not, can we change it?

"We" can't change it.  It's a MinGW thing.  You have to ask the folks at
mingw.org about MinGW issues.



More information about the Cygwin-developers mailing list