This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
__CRT_INLINE and C++
- From: Sandeep Patel <deeppatel1987 at gmail dot com>
- To: cygwin-developers at cygwin dot com
- Date: Mon, 7 Sep 2009 05:28:30 +0000
- Subject: __CRT_INLINE and C++
__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?
deep