This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: __CRT_INLINE and C++
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-developers at cygwin dot com
- Date: Mon, 7 Sep 2009 12:40:41 -0400
- Subject: Re: __CRT_INLINE and C++
- References: <305d6f60909062228n4feec9aci32f73a6eb76ec3ab@mail.gmail.com>
- Reply-to: cygwin-developers at cygwin dot com
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.