Eugene.Zelenko added a subscriber: Eugene.Zelenko. Eugene.Zelenko added a comment. I think extern "C" functions should be kept with (void). I may be mistaken, but looks like code doesn't check for in C++ mode. http://reviews.llvm.org/D12473