__CRT_INLINE and C++

Sandeep Patel deeppatel1987@gmail.com
Mon Sep 7 05:28:00 GMT 2009


__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



More information about the Cygwin-developers mailing list