[cfe-dev] [PATCH] Libc++ Windows fixes

Howard Hinnant hhinnant at apple.com
Fri Sep 23 12:36:07 PDT 2011


On Sep 23, 2011, at 3:14 PM, Ruben Van Boxem wrote:

> Can anything be done about this GCC incompatibility: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10980#c7 ? It is preventing me from linking a functional libc++ (as Clang is not capable of producing correct object files to be linked together), and of course, testing the beast :). To fix it, this basically needs the functions in question to not be declared as "always inline", because GCC produces an error in this case. If Clang does not inline in this case, it should really also produce an error instead of silently ignoring the attribute.

Seems like the easiest thing to do would be to rewrite these without using va_list.  Only one or two arguments need to be supported.  Just make these always-inline templates.

Howard




More information about the cfe-dev mailing list